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

Unified Diff: components/safe_browsing_db/v4_protocol_manager_util.h

Issue 1848973004: Makes V4UpdateProtocolManager auto-schedule update fetching (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@v4_01_
Patch Set: formatting and removed ClearCurrentListStates from test Created 4 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 side-by-side diff with in-line comments
Download patch
Index: components/safe_browsing_db/v4_protocol_manager_util.h
diff --git a/components/safe_browsing_db/v4_protocol_manager_util.h b/components/safe_browsing_db/v4_protocol_manager_util.h
index 6671555f4f3c20498f5a233de24d27395ca23ac3..54e8899492f9b5ede72ac13f8131155e6f2748d3 100644
--- a/components/safe_browsing_db/v4_protocol_manager_util.h
+++ b/components/safe_browsing_db/v4_protocol_manager_util.h
@@ -27,6 +27,12 @@ struct V4ProtocolConfig {
// The Google API key.
std::string key_param;
+
+ // Disable auto-updates using a command line switch?
+ bool disable_auto_update;
+
+ V4ProtocolConfig();
+ ~V4ProtocolConfig();
};
// The information required to uniquely identify each list the client is
@@ -102,7 +108,7 @@ class V4ProtocolManagerUtil {
size_t* multiplier);
private:
- V4ProtocolManagerUtil() {};
+ V4ProtocolManagerUtil(){};
Nathan Parker 2016/04/01 01:04:52 Is this an auto-format-ism? Seems odd.
vakh (use Gerrit instead) 2016/04/01 02:23:02 Yes, auto-format in vim.
FRIEND_TEST_ALL_PREFIXES(SafeBrowsingV4ProtocolManagerUtilTest,
TestBackOffLogic);
FRIEND_TEST_ALL_PREFIXES(SafeBrowsingV4ProtocolManagerUtilTest,

Powered by Google App Engine
This is Rietveld 408576698