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

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

Issue 8747003: Add private system extension API to get system update status (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Codereview Created 9 years 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 // The ExtensionAPIPermission is an immutable class that describes a single 83 // The ExtensionAPIPermission is an immutable class that describes a single
84 // named permission (API permission). 84 // named permission (API permission).
85 class ExtensionAPIPermission { 85 class ExtensionAPIPermission {
86 public: 86 public:
87 enum ID { 87 enum ID {
88 // Error codes. 88 // Error codes.
89 kInvalid = -2, 89 kInvalid = -2,
90 kUnknown = -1, 90 kUnknown = -1,
91 91
92 // Real permissions. 92 // Real permissions.
93 kAccessibilityPrivate,
93 kBackground, 94 kBackground,
94 kBookmark, 95 kBookmark,
95 kChromeAuthPrivate, 96 kChromeAuthPrivate,
96 kChromePrivate, 97 kChromePrivate,
97 kChromeosInfoPrivate, 98 kChromeosInfoPrivate,
98 kClipboardRead, 99 kClipboardRead,
99 kClipboardWrite, 100 kClipboardWrite,
100 kContentSettings, 101 kContentSettings,
101 kContextMenus, 102 kContextMenus,
102 kCookie, 103 kCookie,
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after
427 428
428 // The list of hosts that can be scripted by content scripts. 429 // The list of hosts that can be scripted by content scripts.
429 // TODO(jstritar): Rename to "user_script_hosts_"? 430 // TODO(jstritar): Rename to "user_script_hosts_"?
430 URLPatternSet scriptable_hosts_; 431 URLPatternSet scriptable_hosts_;
431 432
432 // The list of hosts this effectively grants access to. 433 // The list of hosts this effectively grants access to.
433 URLPatternSet effective_hosts_; 434 URLPatternSet effective_hosts_;
434 }; 435 };
435 436
436 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_PERMISSION_SET_H_ 437 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_PERMISSION_SET_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698