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

Side by Side Diff: chrome/browser/managed_mode/managed_user_service.h

Issue 17320005: Update strings to match the final spec. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Null-check the signin manager for CrOS Created 7 years, 6 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_MANAGED_MODE_MANAGED_USER_SERVICE_H_ 5 #ifndef CHROME_BROWSER_MANAGED_MODE_MANAGED_USER_SERVICE_H_
6 #define CHROME_BROWSER_MANAGED_MODE_MANAGED_USER_SERVICE_H_ 6 #define CHROME_BROWSER_MANAGED_MODE_MANAGED_USER_SERVICE_H_
7 7
8 #include <set> 8 #include <set>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 void GetCategoryNames(CategoryList* list); 86 void GetCategoryNames(CategoryList* list);
87 87
88 // Adds an access request for the given URL. The requests are stored using 88 // Adds an access request for the given URL. The requests are stored using
89 // a prefix followed by a URIEncoded version of the URL. Each entry contains 89 // a prefix followed by a URIEncoded version of the URL. Each entry contains
90 // a dictionary which currently has the timestamp of the request in it. 90 // a dictionary which currently has the timestamp of the request in it.
91 void AddAccessRequest(const GURL& url); 91 void AddAccessRequest(const GURL& url);
92 92
93 // Returns the email address of the custodian. 93 // Returns the email address of the custodian.
94 std::string GetCustodianEmailAddress() const; 94 std::string GetCustodianEmailAddress() const;
95 95
96 // Returns the name of the custodian, or the email address if the name is
97 // empty.
98 std::string GetCustodianName() const;
99
96 // These methods allow querying and modifying the manual filtering behavior. 100 // These methods allow querying and modifying the manual filtering behavior.
97 // The manual behavior is set by the user and overrides all other settings 101 // The manual behavior is set by the user and overrides all other settings
98 // (whitelists or the default behavior). 102 // (whitelists or the default behavior).
99 103
100 // Returns the manual behavior for the given host. 104 // Returns the manual behavior for the given host.
101 ManualBehavior GetManualBehaviorForHost(const std::string& hostname); 105 ManualBehavior GetManualBehaviorForHost(const std::string& hostname);
102 106
103 // Returns the manual behavior for the given URL. 107 // Returns the manual behavior for the given URL.
104 ManualBehavior GetManualBehaviorForURL(const GURL& url); 108 ManualBehavior GetManualBehaviorForURL(const GURL& url);
105 109
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 // True iff we're waiting for the Sync service to be initialized. 230 // True iff we're waiting for the Sync service to be initialized.
227 bool waiting_for_sync_initialization_; 231 bool waiting_for_sync_initialization_;
228 232
229 // Sets a profile in elevated state for testing if set to true. 233 // Sets a profile in elevated state for testing if set to true.
230 bool elevated_for_testing_; 234 bool elevated_for_testing_;
231 235
232 URLFilterContext url_filter_context_; 236 URLFilterContext url_filter_context_;
233 }; 237 };
234 238
235 #endif // CHROME_BROWSER_MANAGED_MODE_MANAGED_USER_SERVICE_H_ 239 #endif // CHROME_BROWSER_MANAGED_MODE_MANAGED_USER_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/managed_mode/managed_mode_navigation_observer.cc ('k') | chrome/browser/managed_mode/managed_user_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698