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

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

Issue 12840003: Implement local NTP for fallback. (Closed) Base URL: https://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 9 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 9
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after
408 // Canonical schemes you can use as input to GURL.SchemeIs(). 408 // Canonical schemes you can use as input to GURL.SchemeIs().
409 extern const char kExtensionResourceScheme[]; 409 extern const char kExtensionResourceScheme[];
410 410
411 // The chrome-search: scheme is served by the same backend as chrome:. However, 411 // The chrome-search: scheme is served by the same backend as chrome:. However,
412 // only specific URLDataSources are enabled to serve requests via the 412 // only specific URLDataSources are enabled to serve requests via the
413 // chrome-search: scheme. See |InstantIOContext::ShouldServiceRequest| and its 413 // chrome-search: scheme. See |InstantIOContext::ShouldServiceRequest| and its
414 // callers for details. Note that WebUIBindings should never be granted to 414 // callers for details. Note that WebUIBindings should never be granted to
415 // chrome-search: pages. 415 // chrome-search: pages.
416 extern const char kChromeSearchScheme[]; 416 extern const char kChromeSearchScheme[];
417 417
418 extern const char kChromeSearchLocalNTPHost[];
419 extern const char kChromeSearchLocalNTPURL[];
420
421
418 #if defined(OS_CHROMEOS) 422 #if defined(OS_CHROMEOS)
419 extern const char kCrosScheme[]; 423 extern const char kCrosScheme[];
420 extern const char kDriveScheme[]; 424 extern const char kDriveScheme[];
421 425
422 // "Learn more" URL for the Cloud Print section under Options. 426 // "Learn more" URL for the Cloud Print section under Options.
423 extern const char kCloudPrintLearnMoreURL[]; 427 extern const char kCloudPrintLearnMoreURL[];
424 #endif 428 #endif
425 429
426 // Parameters that get appended to force SafeSearch. 430 // Parameters that get appended to force SafeSearch.
427 extern const char kSafeSearchSafeParameter[]; 431 extern const char kSafeSearchSafeParameter[];
428 extern const char kSafeSearchSsuiParameter[]; 432 extern const char kSafeSearchSsuiParameter[];
429 433
430 // The URL for the "Learn more" link in the media access infobar. 434 // The URL for the "Learn more" link in the media access infobar.
431 extern const char kMediaAccessLearnMoreUrl[]; 435 extern const char kMediaAccessLearnMoreUrl[];
432 436
433 } // namespace chrome 437 } // namespace chrome
434 438
435 #endif // CHROME_COMMON_URL_CONSTANTS_H_ 439 #endif // CHROME_COMMON_URL_CONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698