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

Side by Side Diff: chrome/common/extensions/extension_permission_set.h

Issue 8296017: Revert 105659 - Delay network requests on startup if any webRequest or webNavigation extensions a... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 2 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_COMMON_EXTENSIONS_EXTENSION_PERMISSION_SET_H_ 5 #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_PERMISSION_SET_H_
6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_PERMISSION_SET_H_ 6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_PERMISSION_SET_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 kManagement, 115 kManagement,
116 kMediaPlayerPrivate, 116 kMediaPlayerPrivate,
117 kNotification, 117 kNotification,
118 kPlugin, 118 kPlugin,
119 kProxy, 119 kProxy,
120 kTab, 120 kTab,
121 kTts, 121 kTts,
122 kTtsEngine, 122 kTtsEngine,
123 kUnlimitedStorage, 123 kUnlimitedStorage,
124 kWebNavigation, 124 kWebNavigation,
125 kWebRequest,
126 kWebSocketProxyPrivate, 125 kWebSocketProxyPrivate,
127 kWebstorePrivate, 126 kWebstorePrivate,
128 kEnumBoundary 127 kEnumBoundary
129 }; 128 };
130 129
131 enum Flag { 130 enum Flag {
132 kFlagNone = 0, 131 kFlagNone = 0,
133 132
134 // Indicates if the permission can be accessed by hosted apps. 133 // Indicates if the permission can be accessed by hosted apps.
135 kFlagHostedApp = 1 << 0, 134 kFlagHostedApp = 1 << 0,
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
415 414
416 // The list of hosts that can be scripted by content scripts. 415 // The list of hosts that can be scripted by content scripts.
417 // TODO(jstritar): Rename to "user_script_hosts_"? 416 // TODO(jstritar): Rename to "user_script_hosts_"?
418 URLPatternSet scriptable_hosts_; 417 URLPatternSet scriptable_hosts_;
419 418
420 // The list of hosts this effectively grants access to. 419 // The list of hosts this effectively grants access to.
421 URLPatternSet effective_hosts_; 420 URLPatternSet effective_hosts_;
422 }; 421 };
423 422
424 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_PERMISSION_SET_H_ 423 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_PERMISSION_SET_H_
OLDNEW
« no previous file with comments | « chrome/common/extensions/extension.cc ('k') | chrome/common/extensions/extension_permission_set.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698