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

Side by Side Diff: trunk/src/chrome/browser/chromeos/settings/cros_settings_provider.cc

Issue 13590004: Revert 192504 "Re-apply 192420: Move login switches to src/chromeos" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 8 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/settings/cros_settings_provider.h" 5 #include "chrome/browser/chromeos/settings/cros_settings_provider.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/string_util.h" 9 #include "base/string_util.h"
10 #include "base/values.h" 10 #include "base/values.h"
11 #include "chrome/common/chrome_switches.h" 11 #include "chrome/common/chrome_switches.h"
12 #include "chromeos/chromeos_switches.h"
13 12
14 namespace chromeos { 13 namespace chromeos {
15 14
16 CrosSettingsProvider::CrosSettingsProvider( 15 CrosSettingsProvider::CrosSettingsProvider(
17 const NotifyObserversCallback& notify_cb) 16 const NotifyObserversCallback& notify_cb)
18 : notify_cb_(notify_cb) { 17 : notify_cb_(notify_cb) {
19 } 18 }
20 19
21 CrosSettingsProvider::~CrosSettingsProvider() { 20 CrosSettingsProvider::~CrosSettingsProvider() {
22 } 21 }
(...skipping 15 matching lines...) Expand all
38 if (!notify_cb_.is_null()) 37 if (!notify_cb_.is_null())
39 notify_cb_.Run(path); 38 notify_cb_.Run(path);
40 } 39 }
41 40
42 void CrosSettingsProvider::SetNotifyObserversCallback( 41 void CrosSettingsProvider::SetNotifyObserversCallback(
43 const NotifyObserversCallback& notify_cb) { 42 const NotifyObserversCallback& notify_cb) {
44 notify_cb_ = notify_cb; 43 notify_cb_ = notify_cb;
45 } 44 }
46 45
47 }; // namespace chromeos 46 }; // namespace chromeos
OLDNEW
« no previous file with comments | « trunk/src/chrome/browser/chromeos/preferences.cc ('k') | trunk/src/chrome/browser/chromeos/system/automatic_reboot_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698