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

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

Issue 8539051: aura: Touch state file after first browser is ready. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update more includes Created 9 years, 1 month 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 19 matching lines...) Expand all
30 #include "chrome/browser/prefs/pref_service.h" 30 #include "chrome/browser/prefs/pref_service.h"
31 #include "chrome/common/pref_names.h" 31 #include "chrome/common/pref_names.h"
32 #include "content/public/browser/notification_service.h" 32 #include "content/public/browser/notification_service.h"
33 #include "content/public/browser/notification_types.h" 33 #include "content/public/browser/notification_types.h"
34 #include "googleurl/src/gurl.h" 34 #include "googleurl/src/gurl.h"
35 #include "third_party/cros_system_api/window_manager/chromeos_wm_ipc_enums.h" 35 #include "third_party/cros_system_api/window_manager/chromeos_wm_ipc_enums.h"
36 #include "ui/base/resource/resource_bundle.h" 36 #include "ui/base/resource/resource_bundle.h"
37 #include "unicode/timezone.h" 37 #include "unicode/timezone.h"
38 38
39 #if defined(TOOLKIT_USES_GTK) 39 #if defined(TOOLKIT_USES_GTK)
40 #include "chrome/browser/chromeos/wm_ipc.h" 40 #include "chrome/browser/chromeos/legacy_window_manager/wm_ipc.h"
41 #endif 41 #endif
42 42
43 namespace { 43 namespace {
44 44
45 // The delay of triggering initialization of the device policy subsystem 45 // The delay of triggering initialization of the device policy subsystem
46 // after the login screen is initialized. This makes sure that device policy 46 // after the login screen is initialized. This makes sure that device policy
47 // network requests are made while the system is idle waiting for user input. 47 // network requests are made while the system is idle waiting for user input.
48 const int64 kPolicyServiceInitializationDelayMilliseconds = 100; 48 const int64 kPolicyServiceInitializationDelayMilliseconds = 100;
49 49
50 // Determines the hardware keyboard from the given locale code 50 // Determines the hardware keyboard from the given locale code
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 // user has changed to during OOBE. 328 // user has changed to during OOBE.
329 if (!timezone_name.empty()) { 329 if (!timezone_name.empty()) {
330 icu::TimeZone* timezone = icu::TimeZone::createTimeZone( 330 icu::TimeZone* timezone = icu::TimeZone::createTimeZone(
331 icu::UnicodeString::fromUTF8(timezone_name)); 331 icu::UnicodeString::fromUTF8(timezone_name));
332 CHECK(timezone) << "Timezone could not be set for " << timezone_name; 332 CHECK(timezone) << "Timezone could not be set for " << timezone_name;
333 chromeos::system::TimezoneSettings::GetInstance()->SetTimezone(*timezone); 333 chromeos::system::TimezoneSettings::GetInstance()->SetTimezone(*timezone);
334 } 334 }
335 } 335 }
336 336
337 } // namespace browser 337 } // namespace browser
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/background_view.cc ('k') | chrome/browser/chromeos/login/existing_user_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698