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

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: merge 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 kAudioCapture, 58 kAudioCapture,
59 kVideoCapture, 59 kVideoCapture,
60 kDownloads,
60 kEnumBoundary 61 kEnumBoundary
61 }; 62 };
62 63
63 // Creates the corresponding permission message for a list of hosts. This is 64 // Creates the corresponding permission message for a list of hosts. This is
64 // simply a convenience method around the constructor, since the messages 65 // simply a convenience method around the constructor, since the messages
65 // change depending on what hosts are present. 66 // change depending on what hosts are present.
66 static ExtensionPermissionMessage CreateFromHostList( 67 static ExtensionPermissionMessage CreateFromHostList(
67 const std::set<std::string>& hosts); 68 const std::set<std::string>& hosts);
68 69
69 // Creates the corresponding permission message. 70 // Creates the corresponding permission message.
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 kClipboardRead, 114 kClipboardRead,
114 kClipboardWrite, 115 kClipboardWrite,
115 kContentSettings, 116 kContentSettings,
116 kContextMenus, 117 kContextMenus,
117 kCookie, 118 kCookie,
118 kDebugger, 119 kDebugger,
119 kDeclarative, 120 kDeclarative,
120 kDeclarativeWebRequest, 121 kDeclarativeWebRequest,
121 kDevtools, 122 kDevtools,
122 kEchoPrivate, 123 kEchoPrivate,
124 kDownloads,
123 kExperimental, 125 kExperimental,
124 kFileBrowserHandler, 126 kFileBrowserHandler,
125 kFileBrowserPrivate, 127 kFileBrowserPrivate,
126 kFileSystem, 128 kFileSystem,
127 kGeolocation, 129 kGeolocation,
128 kHistory, 130 kHistory,
129 kIdle, 131 kIdle,
130 kInput, 132 kInput,
131 kInputMethodPrivate, 133 kInputMethodPrivate,
132 kKeybinding, 134 kKeybinding,
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
460 462
461 // The list of hosts this effectively grants access to. 463 // The list of hosts this effectively grants access to.
462 URLPatternSet effective_hosts_; 464 URLPatternSet effective_hosts_;
463 465
464 // A set of oauth2 scopes that are used by the identity API to create OAuth2 466 // A set of oauth2 scopes that are used by the identity API to create OAuth2
465 // tokens for accessing the Google Account of the signed-in sync account. 467 // tokens for accessing the Google Account of the signed-in sync account.
466 ExtensionOAuth2Scopes scopes_; 468 ExtensionOAuth2Scopes scopes_;
467 }; 469 };
468 470
469 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_PERMISSION_SET_H_ 471 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_PERMISSION_SET_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698