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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/url_constants.cc
diff --git a/chrome/common/url_constants.cc b/chrome/common/url_constants.cc
index 15cd571e16d58644c1bff255fd6d312f5adc99b9..faad9072e16ffd1477897294d2b30909baa36718 100644
--- a/chrome/common/url_constants.cc
+++ b/chrome/common/url_constants.cc
@@ -494,4 +494,8 @@ const int kNumberOfChromeDebugURLs =
const char kExtensionScheme[] = "chrome-extension";
const char kExtensionResourceScheme[] = "chrome-extension-resource";
+// Safesearch query parameters.
+const char kSSearchParamsSingle[] = "safe=active&ssui=on";
+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.
+
} // namespace chrome

Powered by Google App Engine
This is Rietveld 408576698