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

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

Issue 2493053002: [extensions] Stop parsing webstore urls so much (Closed)
Patch Set: rdevlin review Created 4 years, 1 month 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
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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
11 11
12 #include "base/files/file_path.h" 12 #include "base/files/file_path.h"
13 #include "build/build_config.h" 13 #include "build/build_config.h"
14 #include "url/gurl.h" 14 #include "url/gurl.h"
15 15
16 namespace extension_urls { 16 namespace extension_urls {
17 17
18 // This returns the compile-time constant webstore update url specific to 18 // This returns the compile-time constant webstore update url specific to
19 // Chrome. Usually you should prefer using GetWebstoreUpdateUrl. 19 // Chrome. Usually you should prefer using GetWebstoreUpdateUrl.
20 GURL GetDefaultWebstoreUpdateUrl(); 20 const char* GetDefaultWebstoreUpdateUrl();
21 21
22 // Field to use with webstore URL for tracking launch source. 22 // Field to use with webstore URL for tracking launch source.
23 extern const char kWebstoreSourceField[]; 23 extern const char kWebstoreSourceField[];
24 24
25 // Values to use with webstore URL launch source field. 25 // Values to use with webstore URL launch source field.
26 extern const char kLaunchSourceAppList[]; 26 extern const char kLaunchSourceAppList[];
27 extern const char kLaunchSourceAppListSearch[]; 27 extern const char kLaunchSourceAppListSearch[];
28 extern const char kLaunchSourceAppListInfoDialog[]; 28 extern const char kLaunchSourceAppListInfoDialog[];
29 29
30 } // namespace extension_urls 30 } // namespace extension_urls
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 extern const char kMediaFileSystemPathPart[]; 252 extern const char kMediaFileSystemPathPart[];
253 253
254 #if defined(OS_CHROMEOS) 254 #if defined(OS_CHROMEOS)
255 // Returns true if |extension_id| is one of the IME extensions that will create 255 // Returns true if |extension_id| is one of the IME extensions that will create
256 // IME menu. 256 // IME menu.
257 bool IsImeMenuExtensionId(const std::string& extension_id); 257 bool IsImeMenuExtensionId(const std::string& extension_id);
258 #endif 258 #endif
259 } // namespace extension_misc 259 } // namespace extension_misc
260 260
261 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ 261 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_
OLDNEW
« no previous file with comments | « chrome/common/extensions/chrome_extensions_client.cc ('k') | chrome/common/extensions/extension_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698