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

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

Issue 9617010: Move chrome.downloads out of experimental to dev (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 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) 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 kHosts4OrMore, 48 kHosts4OrMore,
49 kHostsAll, 49 kHostsAll,
50 kFullAccess, 50 kFullAccess,
51 kClipboard, 51 kClipboard,
52 kTtsEngine, 52 kTtsEngine,
53 kContentSettings, 53 kContentSettings,
54 kAllPageContent, 54 kAllPageContent,
55 kPrivacy, 55 kPrivacy,
56 kManagedMode, 56 kManagedMode,
57 kInput, 57 kInput,
58 kDownloads,
58 kEnumBoundary 59 kEnumBoundary
59 }; 60 };
60 61
61 // Creates the corresponding permission message for a list of hosts. This is 62 // Creates the corresponding permission message for a list of hosts. This is
62 // simply a convenience method around the constructor, since the messages 63 // simply a convenience method around the constructor, since the messages
63 // change depending on what hosts are present. 64 // change depending on what hosts are present.
64 static ExtensionPermissionMessage CreateFromHostList( 65 static ExtensionPermissionMessage CreateFromHostList(
65 const std::set<std::string>& hosts); 66 const std::set<std::string>& hosts);
66 67
67 // Creates the corresponding permission message. 68 // Creates the corresponding permission message.
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 kChromeosInfoPrivate, 110 kChromeosInfoPrivate,
110 kClipboardRead, 111 kClipboardRead,
111 kClipboardWrite, 112 kClipboardWrite,
112 kContentSettings, 113 kContentSettings,
113 kContextMenus, 114 kContextMenus,
114 kCookie, 115 kCookie,
115 kDebugger, 116 kDebugger,
116 kDeclarative, 117 kDeclarative,
117 kDeclarativeWebRequest, 118 kDeclarativeWebRequest,
118 kDevtools, 119 kDevtools,
120 kDownloads,
119 kExperimental, 121 kExperimental,
120 kFileBrowserHandler, 122 kFileBrowserHandler,
121 kFileBrowserPrivate, 123 kFileBrowserPrivate,
122 kFileSystem, 124 kFileSystem,
123 kGeolocation, 125 kGeolocation,
124 kHistory, 126 kHistory,
125 kIdle, 127 kIdle,
126 kInput, 128 kInput,
127 kInputMethodPrivate, 129 kInputMethodPrivate,
128 kKeybinding, 130 kKeybinding,
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after
454 456
455 // The list of hosts this effectively grants access to. 457 // The list of hosts this effectively grants access to.
456 URLPatternSet effective_hosts_; 458 URLPatternSet effective_hosts_;
457 459
458 // A set of oauth2 scopes that are used by the identity API to create OAuth2 460 // A set of oauth2 scopes that are used by the identity API to create OAuth2
459 // tokens for accessing the Google Account of the signed-in sync account. 461 // tokens for accessing the Google Account of the signed-in sync account.
460 ExtensionOAuth2Scopes scopes_; 462 ExtensionOAuth2Scopes scopes_;
461 }; 463 };
462 464
463 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_PERMISSION_SET_H_ 465 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_PERMISSION_SET_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698