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

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

Issue 10310028: Making webRequest.addEventListener internal (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixing ExtensionPermissionsTest.PermissionMessages unit-test for WebRequestInternal Created 8 years, 7 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) 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_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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 kTab, 136 kTab,
137 kTerminalPrivate, 137 kTerminalPrivate,
138 kTopSites, 138 kTopSites,
139 kTts, 139 kTts,
140 kTtsEngine, 140 kTtsEngine,
141 kUnlimitedStorage, 141 kUnlimitedStorage,
142 kUsb, 142 kUsb,
143 kWebNavigation, 143 kWebNavigation,
144 kWebRequest, 144 kWebRequest,
145 kWebRequestBlocking, 145 kWebRequestBlocking,
146 kWebRequestInternal,
146 kWebSocketProxyPrivate, 147 kWebSocketProxyPrivate,
147 kWebstorePrivate, 148 kWebstorePrivate,
148 kEnumBoundary 149 kEnumBoundary
149 }; 150 };
150 151
151 enum Flag { 152 enum Flag {
152 kFlagNone = 0, 153 kFlagNone = 0,
153 154
154 // Indicates if the permission implies full access (native code). 155 // Indicates if the permission implies full access (native code).
155 kFlagImpliesFullAccess = 1 << 0, 156 kFlagImpliesFullAccess = 1 << 0,
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after
447 448
448 // The list of hosts this effectively grants access to. 449 // The list of hosts this effectively grants access to.
449 URLPatternSet effective_hosts_; 450 URLPatternSet effective_hosts_;
450 451
451 // A set of oauth2 scopes that are used by the identity API to create OAuth2 452 // A set of oauth2 scopes that are used by the identity API to create OAuth2
452 // tokens for accessing the Google Account of the signed-in sync account. 453 // tokens for accessing the Google Account of the signed-in sync account.
453 ExtensionOAuth2Scopes scopes_; 454 ExtensionOAuth2Scopes scopes_;
454 }; 455 };
455 456
456 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_PERMISSION_SET_H_ 457 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_PERMISSION_SET_H_
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/web_request_internal.json ('k') | chrome/common/extensions/extension_permission_set.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698