| OLD | NEW |
| 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 <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 299 GURL GetWebstoreItemJsonDataURL(const std::string& extension_id); | 299 GURL GetWebstoreItemJsonDataURL(const std::string& extension_id); |
| 300 | 300 |
| 301 // Return the update URL used by gallery/webstore extensions/apps. The | 301 // Return the update URL used by gallery/webstore extensions/apps. The |
| 302 // |secure| parameter will be ignored if the update URL is overriden with | 302 // |secure| parameter will be ignored if the update URL is overriden with |
| 303 // --apps-gallery-update-url. | 303 // --apps-gallery-update-url. |
| 304 GURL GetWebstoreUpdateUrl(bool secure); | 304 GURL GetWebstoreUpdateUrl(bool secure); |
| 305 | 305 |
| 306 // The greatest common prefixes of the main extensions gallery's browse and | 306 // The greatest common prefixes of the main extensions gallery's browse and |
| 307 // download URLs. | 307 // download URLs. |
| 308 extern const char* kGalleryBrowsePrefix; | 308 extern const char* kGalleryBrowsePrefix; |
| 309 | |
| 310 // Same thing for the "minigallery". The minigallery is the temporary static | |
| 311 // themes gallery that we put up when we launched themes. | |
| 312 extern const char* kMiniGalleryBrowsePrefix; | |
| 313 extern const char* kMiniGalleryDownloadPrefix; | |
| 314 } // namespace extension_urls | 309 } // namespace extension_urls |
| 315 | 310 |
| 316 namespace extension_filenames { | 311 namespace extension_filenames { |
| 317 // The name of a temporary directory to install an extension into for | 312 // The name of a temporary directory to install an extension into for |
| 318 // validation before finalizing install. | 313 // validation before finalizing install. |
| 319 extern const char* kTempExtensionName; | 314 extern const char* kTempExtensionName; |
| 320 | 315 |
| 321 // The file to write our decoded images to, relative to the extension_path. | 316 // The file to write our decoded images to, relative to the extension_path. |
| 322 extern const char* kDecodedImagesFilename; | 317 extern const char* kDecodedImagesFilename; |
| 323 | 318 |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 471 SYNC_PROMO_CONFIRMED_AFTER_SIGN_IN, | 466 SYNC_PROMO_CONFIRMED_AFTER_SIGN_IN, |
| 472 SYNC_PROMO_CLOSED_TAB, | 467 SYNC_PROMO_CLOSED_TAB, |
| 473 SYNC_PROMO_CLOSED_WINDOW, | 468 SYNC_PROMO_CLOSED_WINDOW, |
| 474 SYNC_PROMO_BUCKET_BOUNDARY, | 469 SYNC_PROMO_BUCKET_BOUNDARY, |
| 475 SYNC_PROMO_FIRST_VALID_JS_ACTION = SYNC_PROMO_LEARN_MORE_CLICKED, | 470 SYNC_PROMO_FIRST_VALID_JS_ACTION = SYNC_PROMO_LEARN_MORE_CLICKED, |
| 476 SYNC_PROMO_LAST_VALID_JS_ACTION = SYNC_PROMO_CONFIRMED_AFTER_SIGN_IN, | 471 SYNC_PROMO_LAST_VALID_JS_ACTION = SYNC_PROMO_CONFIRMED_AFTER_SIGN_IN, |
| 477 }; | 472 }; |
| 478 } // extension_misc | 473 } // extension_misc |
| 479 | 474 |
| 480 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ | 475 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ |
| OLD | NEW |