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

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

Issue 592353002: PermissionRequestCreatorApiary: Support for multiple simultaneous requests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: move struct into .cc Created 6 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 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 <map>
8 #include <set> 9 #include <set>
10 #include <string>
9 #include <vector> 11 #include <vector>
10 12
11 #include "base/callback.h" 13 #include "base/callback.h"
12 #include "base/gtest_prod_util.h" 14 #include "base/gtest_prod_util.h"
13 #include "base/memory/scoped_ptr.h" 15 #include "base/memory/scoped_ptr.h"
14 #include "base/prefs/pref_change_registrar.h" 16 #include "base/prefs/pref_change_registrar.h"
15 #include "base/scoped_observer.h" 17 #include "base/scoped_observer.h"
16 #include "base/strings/string16.h" 18 #include "base/strings/string16.h"
17 #include "chrome/browser/supervised_user/experimental/supervised_user_blacklist. h" 19 #include "chrome/browser/supervised_user/experimental/supervised_user_blacklist. h"
18 #include "chrome/browser/supervised_user/supervised_user_url_filter.h" 20 #include "chrome/browser/supervised_user/supervised_user_url_filter.h"
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 bool did_init_; 319 bool did_init_;
318 320
319 // True only when |Shutdown()| method has been called. 321 // True only when |Shutdown()| method has been called.
320 bool did_shutdown_; 322 bool did_shutdown_;
321 323
322 URLFilterContext url_filter_context_; 324 URLFilterContext url_filter_context_;
323 325
324 // Used to create permission requests. 326 // Used to create permission requests.
325 scoped_ptr<PermissionRequestCreator> permissions_creator_; 327 scoped_ptr<PermissionRequestCreator> permissions_creator_;
326 328
327 // True iff we are waiting for a permission request to be issued.
328 bool waiting_for_permissions_;
329
330 base::WeakPtrFactory<SupervisedUserService> weak_ptr_factory_; 329 base::WeakPtrFactory<SupervisedUserService> weak_ptr_factory_;
331 }; 330 };
332 331
333 #endif // CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SERVICE_H_ 332 #endif // CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698