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

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

Issue 8400077: chromeos: Rename functions to be PascalCase. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 333 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 << locale; 344 << locale;
345 // Set the application locale here so that the language switch 345 // Set the application locale here so that the language switch
346 // menu works properly with the newly loaded locale. 346 // menu works properly with the newly loaded locale.
347 g_browser_process->SetApplicationLocale(loaded_locale); 347 g_browser_process->SetApplicationLocale(loaded_locale);
348 } 348 }
349 } 349 }
350 350
351 display_host->StartWizard(first_screen_name, GURL()); 351 display_host->StartWizard(first_screen_name, GURL());
352 352
353 chromeos::LoginUtils::Get()->PrewarmAuthentication(); 353 chromeos::LoginUtils::Get()->PrewarmAuthentication();
354 chromeos::DBusThreadManager::Get()->session_manager_client() 354 chromeos::DBusThreadManager::Get()->GetSessionManagerClient()
355 ->EmitLoginPromptReady(); 355 ->EmitLoginPromptReady();
356 356
357 // Set initial timezone if specified by customization. 357 // Set initial timezone if specified by customization.
358 const std::string timezone_name = startup_manifest->initial_timezone(); 358 const std::string timezone_name = startup_manifest->initial_timezone();
359 VLOG(1) << "Initial time zone: " << timezone_name; 359 VLOG(1) << "Initial time zone: " << timezone_name;
360 // Apply locale customizations only once to preserve whatever locale 360 // Apply locale customizations only once to preserve whatever locale
361 // user has changed to during OOBE. 361 // user has changed to during OOBE.
362 if (!timezone_name.empty()) { 362 if (!timezone_name.empty()) {
363 icu::TimeZone* timezone = icu::TimeZone::createTimeZone( 363 icu::TimeZone* timezone = icu::TimeZone::createTimeZone(
364 icu::UnicodeString::fromUTF8(timezone_name)); 364 icu::UnicodeString::fromUTF8(timezone_name));
365 CHECK(timezone) << "Timezone could not be set for " << timezone_name; 365 CHECK(timezone) << "Timezone could not be set for " << timezone_name;
366 chromeos::system::TimezoneSettings::GetInstance()->SetTimezone(*timezone); 366 chromeos::system::TimezoneSettings::GetInstance()->SetTimezone(*timezone);
367 } 367 }
368 } 368 }
369 369
370 } // namespace browser 370 } // namespace browser
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/enterprise_extension_observer.cc ('k') | chrome/browser/chromeos/login/existing_user_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698