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

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

Issue 3057025: Altered the logic that determines when NaCl is enabled. Previously, we requi... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 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
« no previous file with comments | « chrome/browser/plugin_service.cc ('k') | chrome/common/extensions/extension.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_H_ 5 #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_H_
6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_H_ 6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 static const char* kBookmarkPermission; 99 static const char* kBookmarkPermission;
100 static const char* kContextMenusPermission; 100 static const char* kContextMenusPermission;
101 static const char* kCookiePermission; 101 static const char* kCookiePermission;
102 static const char* kExperimentalPermission; 102 static const char* kExperimentalPermission;
103 static const char* kGeolocationPermission; 103 static const char* kGeolocationPermission;
104 static const char* kHistoryPermission; 104 static const char* kHistoryPermission;
105 static const char* kIdlePermission; 105 static const char* kIdlePermission;
106 static const char* kNotificationPermission; 106 static const char* kNotificationPermission;
107 static const char* kTabPermission; 107 static const char* kTabPermission;
108 static const char* kUnlimitedStoragePermission; 108 static const char* kUnlimitedStoragePermission;
109 static const char* kNativeClientPermission;
109 110
110 static const char* kPermissionNames[]; 111 static const char* kPermissionNames[];
111 static const size_t kNumPermissions; 112 static const size_t kNumPermissions;
112 113
113 // A "simple permission" is one that has a one-to-one mapping with a message 114 // A "simple permission" is one that has a one-to-one mapping with a message
114 // that is displayed in the install UI. This is in contrast to more complex 115 // that is displayed in the install UI. This is in contrast to more complex
115 // permissions like http access, where the exact message displayed depends on 116 // permissions like http access, where the exact message displayed depends on
116 // several factors. 117 // several factors.
117 typedef std::map<std::string, string16> SimplePermissions; 118 typedef std::map<std::string, string16> SimplePermissions;
118 static const SimplePermissions& GetSimplePermissions(); 119 static const SimplePermissions& GetSimplePermissions();
(...skipping 484 matching lines...) Expand 10 before | Expand all | Expand 10 after
603 scoped_ptr<DictionaryValue> extension_manifest; 604 scoped_ptr<DictionaryValue> extension_manifest;
604 std::string extension_id; 605 std::string extension_id;
605 FilePath extension_path; 606 FilePath extension_path;
606 Extension::Location extension_location; 607 Extension::Location extension_location;
607 608
608 private: 609 private:
609 DISALLOW_COPY_AND_ASSIGN(ExtensionInfo); 610 DISALLOW_COPY_AND_ASSIGN(ExtensionInfo);
610 }; 611 };
611 612
612 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_ 613 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_
OLDNEW
« no previous file with comments | « chrome/browser/plugin_service.cc ('k') | chrome/common/extensions/extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698