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

Side by Side Diff: chrome/common/url_constants.h

Issue 9909019: Add schema chrome-extension-resource:// for extension resources (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Update Created 8 years, 8 months 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 // Contains constants for known URLs and portions thereof. 5 // Contains constants for known URLs and portions thereof.
6 6
7 #ifndef CHROME_COMMON_URL_CONSTANTS_H_ 7 #ifndef CHROME_COMMON_URL_CONSTANTS_H_
8 #define CHROME_COMMON_URL_CONSTANTS_H_ 8 #define CHROME_COMMON_URL_CONSTANTS_H_
9 #pragma once 9 #pragma once
10 10
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 // The URL to create a new Google account via sync. 338 // The URL to create a new Google account via sync.
339 extern const char kSyncCreateNewAccountURL[]; 339 extern const char kSyncCreateNewAccountURL[];
340 340
341 // "Debug" pages which are dangerous and not for general consumption. 341 // "Debug" pages which are dangerous and not for general consumption.
342 extern const char* const kChromeDebugURLs[]; 342 extern const char* const kChromeDebugURLs[];
343 extern int kNumberOfChromeDebugURLs; 343 extern int kNumberOfChromeDebugURLs;
344 344
345 // Canonical schemes you can use as input to GURL.SchemeIs(). 345 // Canonical schemes you can use as input to GURL.SchemeIs().
346 extern const char kExtensionScheme[]; 346 extern const char kExtensionScheme[];
347 347
348 extern const char kExtensionResourceScheme[];
Aaron Boodman 2012/04/18 17:52:24 Add a comment to be consistent with the ones above
Peng 2012/04/18 18:29:16 Done.
349
348 // Call near the beginning of startup to register Chrome's internal URLs that 350 // Call near the beginning of startup to register Chrome's internal URLs that
349 // should be parsed as "standard" with the googleurl library. 351 // should be parsed as "standard" with the googleurl library.
350 void RegisterChromeSchemes(); 352 void RegisterChromeSchemes();
351 353
352 #if defined(OS_CHROMEOS) 354 #if defined(OS_CHROMEOS)
353 // "Learn more" URL for the Cloud Print section under Options. 355 // "Learn more" URL for the Cloud Print section under Options.
354 extern const char kCloudPrintLearnMoreURL[]; 356 extern const char kCloudPrintLearnMoreURL[];
355 #endif 357 #endif
356 358
357 } // namespace chrome 359 } // namespace chrome
358 360
359 #endif // CHROME_COMMON_URL_CONSTANTS_H_ 361 #endif // CHROME_COMMON_URL_CONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698