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

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

Issue 3203008: Move prefs-related files under chrome/browser/ into a prefs/ subdir. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 3 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/user_manager.h" 5 #include "chrome/browser/chromeos/login/user_manager.h"
6 6
7 #include "app/resource_bundle.h" 7 #include "app/resource_bundle.h"
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/file_path.h" 9 #include "base/file_path.h"
10 #include "base/file_util.h" 10 #include "base/file_util.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/path_service.h" 12 #include "base/path_service.h"
13 #include "base/string_util.h" 13 #include "base/string_util.h"
14 #include "base/time.h" 14 #include "base/time.h"
15 #include "base/utf_string_conversions.h" 15 #include "base/utf_string_conversions.h"
16 #include "base/values.h" 16 #include "base/values.h"
17 #include "chrome/browser/browser_process.h" 17 #include "chrome/browser/browser_process.h"
18 #include "chrome/browser/chrome_thread.h" 18 #include "chrome/browser/chrome_thread.h"
19 #include "chrome/browser/chromeos/cros/cros_library.h" 19 #include "chrome/browser/chromeos/cros/cros_library.h"
20 #include "chrome/browser/chromeos/cros/input_method_library.h" 20 #include "chrome/browser/chromeos/cros/input_method_library.h"
21 #include "chrome/browser/chromeos/wm_ipc.h" 21 #include "chrome/browser/chromeos/wm_ipc.h"
22 #include "chrome/browser/pref_service.h" 22 #include "chrome/browser/prefs/pref_service.h"
23 #include "chrome/common/chrome_paths.h" 23 #include "chrome/common/chrome_paths.h"
24 #include "chrome/common/notification_service.h" 24 #include "chrome/common/notification_service.h"
25 #include "gfx/codec/png_codec.h" 25 #include "gfx/codec/png_codec.h"
26 #include "grit/theme_resources.h" 26 #include "grit/theme_resources.h"
27 27
28 namespace chromeos { 28 namespace chromeos {
29 29
30 namespace { 30 namespace {
31 31
32 // A vector pref of the users who have logged into the device. 32 // A vector pref of the users who have logged into the device.
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 chromeos::CrosLibrary::Get()->GetInputMethodLibrary()-> 258 chromeos::CrosLibrary::Get()->GetInputMethodLibrary()->
259 SetDeferImeStartup(false); 259 SetDeferImeStartup(false);
260 // Shut down the IME so that it will reload the user's settings. 260 // Shut down the IME so that it will reload the user's settings.
261 chromeos::CrosLibrary::Get()->GetInputMethodLibrary()-> 261 chromeos::CrosLibrary::Get()->GetInputMethodLibrary()->
262 StopInputMethodProcesses(); 262 StopInputMethodProcesses();
263 // Let the window manager know that we're logged in now. 263 // Let the window manager know that we're logged in now.
264 WmIpc::instance()->SetLoggedInProperty(true); 264 WmIpc::instance()->SetLoggedInProperty(true);
265 } 265 }
266 266
267 } // namespace chromeos 267 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698