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

Unified Diff: components/safe_browsing/common/safebrowsing_switches.h

Issue 2450993003: Componentize safe_browsing [1]: create component, move messages, constants and switches. (Closed)
Patch Set: fix compile Created 4 years 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: components/safe_browsing/common/safebrowsing_switches.h
diff --git a/components/safe_browsing/common/safebrowsing_switches.h b/components/safe_browsing/common/safebrowsing_switches.h
new file mode 100644
index 0000000000000000000000000000000000000000..126795bbcf785c5292ccf234ece6ef05f26b618c
--- /dev/null
+++ b/components/safe_browsing/common/safebrowsing_switches.h
@@ -0,0 +1,19 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef COMPONENTS_SAFE_BROWSING_COMMON_SAFEBROWSING_SWITCHES_H_
+#define COMPONENTS_SAFE_BROWSING_COMMON_SAFEBROWSING_SWITCHES_H_
+
+namespace safe_browsing {
+namespace switches {
+
+extern const char kSbDisableAutoUpdate[];
+extern const char kSbDisableDownloadProtection[];
+extern const char kSbDisableExtensionBlacklist[];
+extern const char kSbManualDownloadBlacklist[];
+
+} // namespace switches
+} // namespace safe_browsing
+
+#endif // COMPONENTS_SAFE_BROWSING_COMMON_SAFEBROWSING_SWITCHES_H_
« no previous file with comments | « components/safe_browsing/common/safebrowsing_messages.h ('k') | components/safe_browsing/common/safebrowsing_switches.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698