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

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

Issue 7633029: Remove extension.h #include from profile.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix unit_tests. Created 9 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
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_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 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 10
(...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 // What causes an extension to be installed? Used in histograms, so don't 403 // What causes an extension to be installed? Used in histograms, so don't
404 // change existing values. 404 // change existing values.
405 enum CrxInstallCause { 405 enum CrxInstallCause {
406 INSTALL_CAUSE_UNSET = 0, 406 INSTALL_CAUSE_UNSET = 0,
407 INSTALL_CAUSE_USER_DOWNLOAD, 407 INSTALL_CAUSE_USER_DOWNLOAD,
408 INSTALL_CAUSE_UPDATE, 408 INSTALL_CAUSE_UPDATE,
409 INSTALL_CAUSE_EXTERNAL_FILE, 409 INSTALL_CAUSE_EXTERNAL_FILE,
410 INSTALL_CAUSE_AUTOMATION, 410 INSTALL_CAUSE_AUTOMATION,
411 NUM_INSTALL_CAUSES 411 NUM_INSTALL_CAUSES
412 }; 412 };
413
414 enum UnloadedExtensionReason {
415 UNLOAD_REASON_DISABLE, // Extension is being disabled.
416 UNLOAD_REASON_UPDATE, // Extension is being updated to a newer version.
417 UNLOAD_REASON_UNINSTALL, // Extension is being uninstalled.
418 };
413 } // extension_misc 419 } // extension_misc
414 420
415 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ 421 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_
OLDNEW
« chrome/browser/extensions/app_process_apitest.cc ('K') | « chrome/common/extensions/extension.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698