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

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

Issue 7258007: Move the tts and ttsEngine APIs out of experimental, and give (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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) 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 26 matching lines...) Expand all
37 kTabs, 37 kTabs,
38 kManagement, 38 kManagement,
39 kDebugger, 39 kDebugger,
40 kHosts1, 40 kHosts1,
41 kHosts2, 41 kHosts2,
42 kHosts3, 42 kHosts3,
43 kHosts4OrMore, 43 kHosts4OrMore,
44 kHostsAll, 44 kHostsAll,
45 kFullAccess, 45 kFullAccess,
46 kClipboard, 46 kClipboard,
47 kTtsEngine,
47 kEnumBoundary 48 kEnumBoundary
48 }; 49 };
49 50
50 // Creates the corresponding permission message for a list of hosts. This is 51 // Creates the corresponding permission message for a list of hosts. This is
51 // simply a convenience method around the constructor, since the messages 52 // simply a convenience method around the constructor, since the messages
52 // change depending on what hosts are present. 53 // change depending on what hosts are present.
53 static ExtensionPermissionMessage CreateFromHostList( 54 static ExtensionPermissionMessage CreateFromHostList(
54 const std::set<std::string>& hosts); 55 const std::set<std::string>& hosts);
55 56
56 // Creates the corresponding permission message. 57 // Creates the corresponding permission message.
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 kFileBrowserPrivate, 107 kFileBrowserPrivate,
107 kGeolocation, 108 kGeolocation,
108 kHistory, 109 kHistory,
109 kIdle, 110 kIdle,
110 kInputMethodPrivate, 111 kInputMethodPrivate,
111 kManagement, 112 kManagement,
112 kMediaPlayerPrivate, 113 kMediaPlayerPrivate,
113 kNotification, 114 kNotification,
114 kProxy, 115 kProxy,
115 kTab, 116 kTab,
117 kTts,
118 kTtsEngine,
116 kUnlimitedStorage, 119 kUnlimitedStorage,
117 kWebSocketProxyPrivate, 120 kWebSocketProxyPrivate,
118 kWebstorePrivate, 121 kWebstorePrivate,
119 kDevtools, 122 kDevtools,
120 kPlugin, 123 kPlugin,
121 kEnumBoundary 124 kEnumBoundary
122 }; 125 };
123 126
124 typedef std::set<ID> IDSet; 127 typedef std::set<ID> IDSet;
125 128
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
380 URLPatternSet explicit_hosts_; 383 URLPatternSet explicit_hosts_;
381 384
382 // The list of hosts that can be scripted by content scripts. 385 // The list of hosts that can be scripted by content scripts.
383 URLPatternSet scriptable_hosts_; 386 URLPatternSet scriptable_hosts_;
384 387
385 // The list of hosts this effectively grants access to. 388 // The list of hosts this effectively grants access to.
386 URLPatternSet effective_hosts_; 389 URLPatternSet effective_hosts_;
387 }; 390 };
388 391
389 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_PERMISSION_SET_H_ 392 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_PERMISSION_SET_H_
OLDNEW
« no previous file with comments | « chrome/common/extensions/docs/ttsEngine.html ('k') | chrome/common/extensions/extension_permission_set.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698