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

Side by Side Diff: chrome/browser/extensions/permissions_updater.h

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 years 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 (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 #ifndef CHROME_BROWSER_EXTENSIONS_PERMISSIONS_UPDATER_H__ 5 #ifndef CHROME_BROWSER_EXTENSIONS_PERMISSIONS_UPDATER_H__
6 #define CHROME_BROWSER_EXTENSIONS_PERMISSIONS_UPDATER_H__ 6 #define CHROME_BROWSER_EXTENSIONS_PERMISSIONS_UPDATER_H__
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "extensions/browser/extension_event_histogram_value.h" 12 #include "extensions/browser/extension_event_histogram_value.h"
13 13
14 namespace base {
15 class DictionaryValue;
16 }
17
18 namespace content { 14 namespace content {
19 class BrowserContext; 15 class BrowserContext;
20 } 16 }
21 17
22 namespace extensions { 18 namespace extensions {
23 19
24 class Extension; 20 class Extension;
25 class ExtensionPrefs;
26 class PermissionSet; 21 class PermissionSet;
27 22
28 // Updates an Extension's active and granted permissions in persistent storage 23 // Updates an Extension's active and granted permissions in persistent storage
29 // and notifies interested parties of the changes. 24 // and notifies interested parties of the changes.
30 class PermissionsUpdater { 25 class PermissionsUpdater {
31 public: 26 public:
32 enum InitFlag { 27 enum InitFlag {
33 INIT_FLAG_NONE = 0, 28 INIT_FLAG_NONE = 0,
34 INIT_FLAG_TRANSIENT = 1 << 0, 29 INIT_FLAG_TRANSIENT = 1 << 0,
35 }; 30 };
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 // Initialization flag that determines whether prefs is consulted about the 112 // Initialization flag that determines whether prefs is consulted about the
118 // extension. Transient extensions should not have entries in prefs. 113 // extension. Transient extensions should not have entries in prefs.
119 InitFlag init_flag_; 114 InitFlag init_flag_;
120 115
121 DISALLOW_COPY_AND_ASSIGN(PermissionsUpdater); 116 DISALLOW_COPY_AND_ASSIGN(PermissionsUpdater);
122 }; 117 };
123 118
124 } // namespace extensions 119 } // namespace extensions
125 120
126 #endif // CHROME_BROWSER_EXTENSIONS_PERMISSIONS_UPDATER_H__ 121 #endif // CHROME_BROWSER_EXTENSIONS_PERMISSIONS_UPDATER_H__
OLDNEW
« no previous file with comments | « chrome/browser/extensions/pending_extension_manager.h ('k') | chrome/browser/extensions/proxy_overridden_bubble_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698