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

Side by Side Diff: base/prefs/pref_change_registrar.cc

Issue 15024007: Eliminate BrowserProcess dependency from sign-in production code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge LKGR Created 7 years, 7 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) 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 "base/prefs/pref_change_registrar.h" 5 #include "base/prefs/pref_change_registrar.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/prefs/pref_service.h" 9 #include "base/prefs/pref_service.h"
10 10
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 } 82 }
83 83
84 void PrefChangeRegistrar::InvokeUnnamedCallback(const base::Closure& callback, 84 void PrefChangeRegistrar::InvokeUnnamedCallback(const base::Closure& callback,
85 const std::string& pref_name) { 85 const std::string& pref_name) {
86 callback.Run(); 86 callback.Run();
87 } 87 }
88 88
89 PrefService* PrefChangeRegistrar::prefs() { 89 PrefService* PrefChangeRegistrar::prefs() {
90 return service_; 90 return service_;
91 } 91 }
92
93 const PrefService* PrefChangeRegistrar::prefs() const {
94 return service_;
95 }
OLDNEW
« no previous file with comments | « base/prefs/pref_change_registrar.h ('k') | chrome/browser/policy/cloud/user_cloud_policy_store_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698