Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(29)

Side by Side Diff: chrome/browser/chromeos/login/base_login_display_host.cc

Issue 7648043: Include chromeos_wm_ipc_enums.h from third_party/cros_system_api. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix check_deps failure Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/chromeos/login/base_login_display_host.h" 5 #include "chrome/browser/chromeos/login/base_login_display_host.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/file_util.h" 8 #include "base/file_util.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/threading/thread_restrictions.h" 10 #include "base/threading/thread_restrictions.h"
(...skipping 13 matching lines...) Expand all
24 #include "chrome/browser/chromeos/login/webui_login_display_host.h" 24 #include "chrome/browser/chromeos/login/webui_login_display_host.h"
25 #include "chrome/browser/chromeos/login/wizard_controller.h" 25 #include "chrome/browser/chromeos/login/wizard_controller.h"
26 #include "chrome/browser/chromeos/system/timezone_settings.h" 26 #include "chrome/browser/chromeos/system/timezone_settings.h"
27 #include "chrome/browser/chromeos/wm_ipc.h" 27 #include "chrome/browser/chromeos/wm_ipc.h"
28 #include "chrome/browser/policy/browser_policy_connector.h" 28 #include "chrome/browser/policy/browser_policy_connector.h"
29 #include "chrome/browser/prefs/pref_service.h" 29 #include "chrome/browser/prefs/pref_service.h"
30 #include "chrome/common/pref_names.h" 30 #include "chrome/common/pref_names.h"
31 #include "content/common/content_notification_types.h" 31 #include "content/common/content_notification_types.h"
32 #include "content/common/notification_service.h" 32 #include "content/common/notification_service.h"
33 #include "googleurl/src/gurl.h" 33 #include "googleurl/src/gurl.h"
34 #include "third_party/cros/chromeos_wm_ipc_enums.h" 34 #include "third_party/cros_system_api/window_manager/chromeos_wm_ipc_enums.h"
35 #include "ui/base/resource/resource_bundle.h" 35 #include "ui/base/resource/resource_bundle.h"
36 #include "unicode/timezone.h" 36 #include "unicode/timezone.h"
37 37
38 // TODO(altimofeev): move to ViewsLoginDisplayHost 38 // TODO(altimofeev): move to ViewsLoginDisplayHost
39 #include "chrome/browser/chromeos/login/views_oobe_display.h" 39 #include "chrome/browser/chromeos/login/views_oobe_display.h"
40 40
41 41
42 namespace { 42 namespace {
43 43
44 // The delay of triggering initialization of the device policy subsystem 44 // The delay of triggering initialization of the device policy subsystem
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
341 if (!timezone_name.empty()) { 341 if (!timezone_name.empty()) {
342 icu::TimeZone* timezone = icu::TimeZone::createTimeZone( 342 icu::TimeZone* timezone = icu::TimeZone::createTimeZone(
343 icu::UnicodeString::fromUTF8(timezone_name)); 343 icu::UnicodeString::fromUTF8(timezone_name));
344 CHECK(timezone) << "Timezone could not be set for " << timezone_name; 344 CHECK(timezone) << "Timezone could not be set for " << timezone_name;
345 chromeos::system::TimezoneSettings::GetInstance()->SetTimezone(*timezone); 345 chromeos::system::TimezoneSettings::GetInstance()->SetTimezone(*timezone);
346 } 346 }
347 } 347 }
348 } 348 }
349 349
350 } // namespace browser 350 } // namespace browser
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/background_view.cc ('k') | chrome/browser/chromeos/login/screen_locker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698