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

Side by Side Diff: extensions/common/constants.h

Issue 105733003: Move LaunchType out of ExtensionPrefs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add missing extension.h include for windows Created 7 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
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 EXTENSIONS_COMMON_CONSTANTS_H_ 5 #ifndef EXTENSIONS_COMMON_CONSTANTS_H_
6 #define EXTENSIONS_COMMON_CONSTANTS_H_ 6 #define EXTENSIONS_COMMON_CONSTANTS_H_
7 7
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 9
10 namespace extensions { 10 namespace extensions {
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 // The name of the database inside the profile where chrome-internal 78 // The name of the database inside the profile where chrome-internal
79 // extension state resides. 79 // extension state resides.
80 extern const char kStateStoreName[]; 80 extern const char kStateStoreName[];
81 81
82 // The name of the database inside the profile where declarative extension 82 // The name of the database inside the profile where declarative extension
83 // rules are stored. 83 // rules are stored.
84 extern const char kRulesStoreName[]; 84 extern const char kRulesStoreName[];
85 85
86 // Don't remove items or change the order of this enum. It's used in 86 // Don't remove items or change the order of this enum. It's used in
87 // histograms and preferences. 87 // histograms and preferences.
88 // TODO(derat): Move this to chrome/browser/extensions/launch_util.h?
Yoyo Zhou 2013/12/05 02:43:50 I think that would make sense. You can do that in
Daniel Erat 2013/12/05 03:24:35 i'll probably save it for another change; i think
88 enum LaunchContainer { 89 enum LaunchContainer {
89 LAUNCH_WINDOW, 90 LAUNCH_WINDOW,
90 LAUNCH_PANEL, 91 LAUNCH_PANEL,
91 LAUNCH_TAB, 92 LAUNCH_TAB,
92 // For platform apps, which don't actually have a container (they just get a 93 // For platform apps, which don't actually have a container (they just get a
93 // "onLaunched" event). 94 // "onLaunched" event).
94 LAUNCH_NONE 95 LAUNCH_NONE
95 }; 96 };
96 97
97 } // namespace extensions 98 } // namespace extensions
98 99
99 #endif // EXTENSIONS_COMMON_CONSTANTS_H_ 100 #endif // EXTENSIONS_COMMON_CONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698