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

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

Issue 11415216: Make Blacklist::IsBlacklist asynchronous (it will need to be for safe (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix another test Created 8 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
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | chrome/common/extensions/extension_set.h » ('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) 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_CONSTANTS_H_ 5 #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_
6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ 6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 INSTALL_CAUSE_EXTERNAL_FILE, 230 INSTALL_CAUSE_EXTERNAL_FILE,
231 INSTALL_CAUSE_AUTOMATION, 231 INSTALL_CAUSE_AUTOMATION,
232 NUM_INSTALL_CAUSES 232 NUM_INSTALL_CAUSES
233 }; 233 };
234 234
235 enum UnloadedExtensionReason { 235 enum UnloadedExtensionReason {
236 UNLOAD_REASON_DISABLE, // Extension is being disabled. 236 UNLOAD_REASON_DISABLE, // Extension is being disabled.
237 UNLOAD_REASON_UPDATE, // Extension is being updated to a newer version. 237 UNLOAD_REASON_UPDATE, // Extension is being updated to a newer version.
238 UNLOAD_REASON_UNINSTALL, // Extension is being uninstalled. 238 UNLOAD_REASON_UNINSTALL, // Extension is being uninstalled.
239 UNLOAD_REASON_TERMINATE, // Extension has terminated. 239 UNLOAD_REASON_TERMINATE, // Extension has terminated.
240 UNLOAD_REASON_BLACKLIST, // Extension has been blacklisted.
240 }; 241 };
241 242
242 // The states that an app can be in, as reported by chrome.app.installState 243 // The states that an app can be in, as reported by chrome.app.installState
243 // and chrome.app.runningState. 244 // and chrome.app.runningState.
244 extern const char kAppStateNotInstalled[]; 245 extern const char kAppStateNotInstalled[];
245 extern const char kAppStateInstalled[]; 246 extern const char kAppStateInstalled[];
246 extern const char kAppStateDisabled[]; 247 extern const char kAppStateDisabled[];
247 extern const char kAppStateRunning[]; 248 extern const char kAppStateRunning[];
248 extern const char kAppStateCannotRun[]; 249 extern const char kAppStateCannotRun[];
249 extern const char kAppStateReadyToRun[]; 250 extern const char kAppStateReadyToRun[];
(...skipping 27 matching lines...) Expand all
277 extern const int kExtensionActionIconSizes[]; 278 extern const int kExtensionActionIconSizes[];
278 extern const size_t kNumExtensionActionIconSizes; 279 extern const size_t kNumExtensionActionIconSizes;
279 280
280 // List of sizes for extension icons that can be defined in the manifest. 281 // List of sizes for extension icons that can be defined in the manifest.
281 extern const int kScriptBadgeIconSizes[]; 282 extern const int kScriptBadgeIconSizes[];
282 extern const size_t kNumScriptBadgeIconSizes; 283 extern const size_t kNumScriptBadgeIconSizes;
283 284
284 } // extension_misc 285 } // extension_misc
285 286
286 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ 287 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_
OLDNEW
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | chrome/common/extensions/extension_set.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698