| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |