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

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

Issue 9424036: Move `browsingData` extension API out of experimental. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebuilt docs. Created 8 years, 10 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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 public: 90 public:
91 enum ID { 91 enum ID {
92 // Error codes. 92 // Error codes.
93 kInvalid = -2, 93 kInvalid = -2,
94 kUnknown = -1, 94 kUnknown = -1,
95 95
96 // Real permissions. 96 // Real permissions.
97 kAppNotifications, 97 kAppNotifications,
98 kBackground, 98 kBackground,
99 kBookmark, 99 kBookmark,
100 kBrowsingData,
100 kChromeAuthPrivate, 101 kChromeAuthPrivate,
101 kChromePrivate, 102 kChromePrivate,
102 kChromeosInfoPrivate, 103 kChromeosInfoPrivate,
103 kClipboardRead, 104 kClipboardRead,
104 kClipboardWrite, 105 kClipboardWrite,
105 kContentSettings, 106 kContentSettings,
106 kContextMenus, 107 kContextMenus,
107 kCookie, 108 kCookie,
108 kDebugger, 109 kDebugger,
109 kDevtools, 110 kDevtools,
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after
492 493
493 // The list of hosts that can be scripted by content scripts. 494 // The list of hosts that can be scripted by content scripts.
494 // TODO(jstritar): Rename to "user_script_hosts_"? 495 // TODO(jstritar): Rename to "user_script_hosts_"?
495 URLPatternSet scriptable_hosts_; 496 URLPatternSet scriptable_hosts_;
496 497
497 // The list of hosts this effectively grants access to. 498 // The list of hosts this effectively grants access to.
498 URLPatternSet effective_hosts_; 499 URLPatternSet effective_hosts_;
499 }; 500 };
500 501
501 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_PERMISSION_SET_H_ 502 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_PERMISSION_SET_H_
OLDNEW
« no previous file with comments | « chrome/common/extensions/docs/tabs.html ('k') | chrome/common/extensions/extension_permission_set.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698