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

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

Issue 11186002: Add a SafeSearch preference, policy and implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add a SafeSearch preference, policy and implementation. Created 8 years, 2 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
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 "googleurl/src/url_util.h" 7 #include "googleurl/src/url_util.h"
8 8
9 namespace chrome { 9 namespace chrome {
10 10
(...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after
487 kChromeUIGpuCleanURL, 487 kChromeUIGpuCleanURL,
488 kChromeUIGpuCrashURL, 488 kChromeUIGpuCrashURL,
489 kChromeUIGpuHangURL, 489 kChromeUIGpuHangURL,
490 }; 490 };
491 const int kNumberOfChromeDebugURLs = 491 const int kNumberOfChromeDebugURLs =
492 static_cast<int>(arraysize(kChromeDebugURLs)); 492 static_cast<int>(arraysize(kChromeDebugURLs));
493 493
494 const char kExtensionScheme[] = "chrome-extension"; 494 const char kExtensionScheme[] = "chrome-extension";
495 const char kExtensionResourceScheme[] = "chrome-extension-resource"; 495 const char kExtensionResourceScheme[] = "chrome-extension-resource";
496 496
497 // Safesearch query parameters.
498 const char kSSearchParamsSingle[] = "safe=active&ssui=on";
499 const char kSSearchParamsMultiple[] = "&safe=active&ssui=on";
Joao da Silva 2012/10/16 16:26:46 This is redundant; the first constant is enough an
Sergiu 2012/10/17 14:48:58 Done.
500
497 } // namespace chrome 501 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698