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

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

Issue 11276036: Fix "Get more extensions" link in about:extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | 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 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 <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "googleurl/src/gurl.h" 11 #include "googleurl/src/gurl.h"
12 12
13 namespace extension_urls { 13 namespace extension_urls {
14 // Returns the URL prefix for the extension/apps gallery. Can be set via the 14 // Returns the URL prefix for the extension/apps gallery. Can be set via the
15 // --apps-gallery-url switch. The URL returned will not contain a trailing 15 // --apps-gallery-url switch. The URL returned will not contain a trailing
16 // slash. Do not use this as a prefix/extent for the store. 16 // slash. Do not use this as a prefix/extent for the store.
17 std::string GetWebstoreLaunchURL(); 17 std::string GetWebstoreLaunchURL();
18 18
19 // Returns the URL to the extensions category on the Web Store. This is
20 // derived from GetWebstoreLaunchURL().
21 std::string GetExtensionGalleryURL();
22
19 // Returns the URL prefix for an item in the extension/app gallery. This URL 23 // Returns the URL prefix for an item in the extension/app gallery. This URL
20 // will contain a trailing slash and should be concatenated with an item ID 24 // will contain a trailing slash and should be concatenated with an item ID
21 // to get the item detail URL. 25 // to get the item detail URL.
22 std::string GetWebstoreItemDetailURLPrefix(); 26 std::string GetWebstoreItemDetailURLPrefix();
23 27
24 // Returns the URL leading to a search page for Web Intents. The search is 28 // Returns the URL leading to a search page for Web Intents. The search is
25 // specific to intents with the given |action| and |type|. 29 // specific to intents with the given |action| and |type|.
26 GURL GetWebstoreIntentQueryURL(const std::string& action, 30 GURL GetWebstoreIntentQueryURL(const std::string& action,
27 const std::string& type); 31 const std::string& type);
28 32
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 extern const int kExtensionActionIconSizes[]; 275 extern const int kExtensionActionIconSizes[];
272 extern const size_t kNumExtensionActionIconSizes; 276 extern const size_t kNumExtensionActionIconSizes;
273 277
274 // List of sizes for extension icons that can be defined in the manifest. 278 // List of sizes for extension icons that can be defined in the manifest.
275 extern const int kScriptBadgeIconSizes[]; 279 extern const int kScriptBadgeIconSizes[];
276 extern const size_t kNumScriptBadgeIconSizes; 280 extern const size_t kNumScriptBadgeIconSizes;
277 281
278 } // extension_misc 282 } // extension_misc
279 283
280 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ 284 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/extensions/extension_settings_handler.cc ('k') | chrome/common/extensions/extension_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698