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

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

Issue 19054012: Reload Local NTP on default search provider change. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments Created 7 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « chrome/common/url_constants.h ('k') | chrome/test/data/local_ntp_browsertest.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "chrome/common/url_constants.h" 5 #include "chrome/common/url_constants.h"
6 6
7 #include "url/url_util.h" 7 #include "url/url_util.h"
8 8
9 namespace chrome { 9 namespace chrome {
10 10
(...skipping 513 matching lines...) Expand 10 before | Expand all | Expand 10 after
524 const int kNumberOfChromeDebugURLs = 524 const int kNumberOfChromeDebugURLs =
525 static_cast<int>(arraysize(kChromeDebugURLs)); 525 static_cast<int>(arraysize(kChromeDebugURLs));
526 526
527 const char kExtensionResourceScheme[] = "chrome-extension-resource"; 527 const char kExtensionResourceScheme[] = "chrome-extension-resource";
528 const char kChromeNativeScheme[] = "chrome-native"; 528 const char kChromeNativeScheme[] = "chrome-native";
529 529
530 const char kChromeSearchScheme[] = "chrome-search"; 530 const char kChromeSearchScheme[] = "chrome-search";
531 const char kChromeSearchLocalNtpHost[] = "local-ntp"; 531 const char kChromeSearchLocalNtpHost[] = "local-ntp";
532 const char kChromeSearchLocalNtpUrl[] = 532 const char kChromeSearchLocalNtpUrl[] =
533 "chrome-search://local-ntp/local-ntp.html"; 533 "chrome-search://local-ntp/local-ntp.html";
534 const char kChromeSearchLocalGoogleNtpUrl[] =
535 "chrome-search://local-ntp/local-ntp.html?isGoogle";
536 534
537 const char kChromeSearchMostVisitedHost[] = "most-visited"; 535 const char kChromeSearchMostVisitedHost[] = "most-visited";
538 const char kChromeSearchMostVisitedUrl[] = "chrome-search://most-visited/"; 536 const char kChromeSearchMostVisitedUrl[] = "chrome-search://most-visited/";
539 537
540 // Google SafeSearch query parameters. 538 // Google SafeSearch query parameters.
541 const char kSafeSearchSafeParameter[] = "safe=active"; 539 const char kSafeSearchSafeParameter[] = "safe=active";
542 const char kSafeSearchSsuiParameter[] = "ssui=on"; 540 const char kSafeSearchSsuiParameter[] = "ssui=on";
543 541
544 const char kMediaAccessLearnMoreUrl[] = 542 const char kMediaAccessLearnMoreUrl[] =
545 "https://support.google.com/chrome/?p=ib_access_cam_mic"; 543 "https://support.google.com/chrome/?p=ib_access_cam_mic";
546 544
547 } // namespace chrome 545 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/common/url_constants.h ('k') | chrome/test/data/local_ntp_browsertest.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698