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

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

Issue 7259019: Move base/values.h into the base namespace. (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>
11 #include <string> 11 #include <string>
12 #include <vector> 12 #include <vector>
13 13
14 #include "base/gtest_prod_util.h" 14 #include "base/gtest_prod_util.h"
15 #include "base/memory/singleton.h" 15 #include "base/memory/singleton.h"
16 #include "base/scoped_ptr.h" 16 #include "base/scoped_ptr.h"
17 #include "base/string16.h" 17 #include "base/string16.h"
18 #include "chrome/common/extensions/url_pattern_set.h" 18 #include "chrome/common/extensions/url_pattern_set.h"
19 19
20 class DictionaryValue;
21 class Extension; 20 class Extension;
22 class ExtensionPrefs; 21 class ExtensionPrefs;
23 class ListValue;
24 22
25 // When prompting the user to install or approve permissions, we display 23 // When prompting the user to install or approve permissions, we display
26 // messages describing the effects of the permissions rather than listing the 24 // messages describing the effects of the permissions rather than listing the
27 // permissions themselves. Each ExtensionPermissionMessage represents one of the 25 // permissions themselves. Each ExtensionPermissionMessage represents one of the
28 // messages shown to the user. 26 // messages shown to the user.
29 class ExtensionPermissionMessage { 27 class ExtensionPermissionMessage {
30 public: 28 public:
31 // Do not reorder this enumeration. If you need to add a new enum, add it just 29 // Do not reorder this enumeration. If you need to add a new enum, add it just
32 // prior to kEnumBoundary. 30 // prior to kEnumBoundary.
33 enum ID { 31 enum ID {
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after
380 URLPatternSet explicit_hosts_; 378 URLPatternSet explicit_hosts_;
381 379
382 // The list of hosts that can be scripted by content scripts. 380 // The list of hosts that can be scripted by content scripts.
383 URLPatternSet scriptable_hosts_; 381 URLPatternSet scriptable_hosts_;
384 382
385 // The list of hosts this effectively grants access to. 383 // The list of hosts this effectively grants access to.
386 URLPatternSet effective_hosts_; 384 URLPatternSet effective_hosts_;
387 }; 385 };
388 386
389 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_PERMISSION_SET_H_ 387 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_PERMISSION_SET_H_
OLDNEW
« no previous file with comments | « chrome/common/extensions/extension_message_bundle.h ('k') | chrome/common/extensions/extension_unpacker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698