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

Side by Side Diff: chrome/browser/supervised_user/supervised_user_service.h

Issue 490493003: Merge 287309 "Use the display name on ChromeOS instead of the pr..." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/2062/src/
Patch Set: Created 6 years, 4 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
« no previous file with comments | « no previous file | chrome/browser/supervised_user/supervised_user_service.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SERVICE_H_ 5 #ifndef CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SERVICE_H_
6 #define CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SERVICE_H_ 6 #define CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SERVICE_H_
7 7
8 #include <set> 8 #include <set>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 void UpdateSiteLists(); 244 void UpdateSiteLists();
245 245
246 // Updates the manual overrides for hosts in the URL filters when the 246 // Updates the manual overrides for hosts in the URL filters when the
247 // corresponding preference is changed. 247 // corresponding preference is changed.
248 void UpdateManualHosts(); 248 void UpdateManualHosts();
249 249
250 // Updates the manual overrides for URLs in the URL filters when the 250 // Updates the manual overrides for URLs in the URL filters when the
251 // corresponding preference is changed. 251 // corresponding preference is changed.
252 void UpdateManualURLs(); 252 void UpdateManualURLs();
253 253
254 // Returns the human readable name of the supervised user.
255 std::string GetSupervisedUserName() const;
256
254 // Owns us via the KeyedService mechanism. 257 // Owns us via the KeyedService mechanism.
255 Profile* profile_; 258 Profile* profile_;
256 259
257 bool active_; 260 bool active_;
258 261
259 Delegate* delegate_; 262 Delegate* delegate_;
260 263
261 ScopedObserver<extensions::ExtensionRegistry, 264 ScopedObserver<extensions::ExtensionRegistry,
262 extensions::ExtensionRegistryObserver> 265 extensions::ExtensionRegistryObserver>
263 extension_registry_observer_; 266 extension_registry_observer_;
(...skipping 17 matching lines...) Expand all
281 // Used to create permission requests. 284 // Used to create permission requests.
282 scoped_ptr<PermissionRequestCreator> permissions_creator_; 285 scoped_ptr<PermissionRequestCreator> permissions_creator_;
283 286
284 // True iff we are waiting for a permission request to be issued. 287 // True iff we are waiting for a permission request to be issued.
285 bool waiting_for_permissions_; 288 bool waiting_for_permissions_;
286 289
287 base::WeakPtrFactory<SupervisedUserService> weak_ptr_factory_; 290 base::WeakPtrFactory<SupervisedUserService> weak_ptr_factory_;
288 }; 291 };
289 292
290 #endif // CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SERVICE_H_ 293 #endif // CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SERVICE_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/supervised_user/supervised_user_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698