cc: Remove unused disable_hi_res_timer_tasks_on_battery flag.
[chromium-blink-merge.git] / content / renderer / date_time_suggestion_builder.cc
blob7dff00d78244f615ba7a4d1ea39233f37933933a
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "content/renderer/date_time_suggestion_builder.h"
7 #include "content/common/date_time_suggestion.h"
8 #include "third_party/WebKit/public/web/WebDateTimeSuggestion.h"
10 namespace content {
12 // static
13 DateTimeSuggestion DateTimeSuggestionBuilder::Build(
14 const blink::WebDateTimeSuggestion& suggestion) {
15 DateTimeSuggestion result;
16 result.value = suggestion.value;
17 result.localized_value = suggestion.localizedValue;
18 result.label = suggestion.label;
19 return result;
22 } // namespace content