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

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: fix EDER incognito 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 kGeolocation, 124 kGeolocation,
123 kHistory, 125 kHistory,
124 kIdle, 126 kIdle,
125 kInput, 127 kInput,
126 kInputMethodPrivate, 128 kInputMethodPrivate,
127 kKeybinding, 129 kKeybinding,
128 kManagedModePrivate, 130 kManagedModePrivate,
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after
453 455
454 // The list of hosts this effectively grants access to. 456 // The list of hosts this effectively grants access to.
455 URLPatternSet effective_hosts_; 457 URLPatternSet effective_hosts_;
456 458
457 // A set of oauth2 scopes that are used by the identity API to create OAuth2 459 // A set of oauth2 scopes that are used by the identity API to create OAuth2
458 // tokens for accessing the Google Account of the signed-in sync account. 460 // tokens for accessing the Google Account of the signed-in sync account.
459 ExtensionOAuth2Scopes scopes_; 461 ExtensionOAuth2Scopes scopes_;
460 }; 462 };
461 463
462 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_PERMISSION_SET_H_ 464 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_PERMISSION_SET_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698