Chromium Code Reviews| 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> |
|
sky
2016/12/12 16:06:55
remove include
Azure Wei
2016/12/13 11:20:47
Done.
| |
| 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 const char* GetDefaultWebstoreUpdateUrl(); | 20 const char* GetDefaultWebstoreUpdateUrl(); |
| (...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 243 // and chrome.app.runningState. | 243 // and chrome.app.runningState. |
| 244 extern const char kAppStateNotInstalled[]; | 244 extern const char kAppStateNotInstalled[]; |
| 245 extern const char kAppStateInstalled[]; | 245 extern const char kAppStateInstalled[]; |
| 246 extern const char kAppStateDisabled[]; | 246 extern const char kAppStateDisabled[]; |
| 247 extern const char kAppStateRunning[]; | 247 extern const char kAppStateRunning[]; |
| 248 extern const char kAppStateCannotRun[]; | 248 extern const char kAppStateCannotRun[]; |
| 249 extern const char kAppStateReadyToRun[]; | 249 extern const char kAppStateReadyToRun[]; |
| 250 | 250 |
| 251 // The path part of the file system url used for media file systems. | 251 // The path part of the file system url used for media file systems. |
| 252 extern const char kMediaFileSystemPathPart[]; | 252 extern const char kMediaFileSystemPathPart[]; |
| 253 | |
| 254 #if defined(OS_CHROMEOS) | |
| 255 // Returns true if |extension_id| is one of the IME extensions that will create | |
| 256 // IME menu. | |
| 257 bool IsImeMenuExtensionId(const std::string& extension_id); | |
| 258 #endif | |
| 259 } // namespace extension_misc | 253 } // namespace extension_misc |
| 260 | 254 |
| 261 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ | 255 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ |
| OLD | NEW |