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

Unified Diff: chrome/browser/safe_browsing/protocol_manager.h

Issue 1640503003: Remove unused foreground member variable from SB Protocol Manager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « chrome/browser/android/chrome_application.cc ('k') | chrome/browser/safe_browsing/protocol_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/safe_browsing/protocol_manager.h
diff --git a/chrome/browser/safe_browsing/protocol_manager.h b/chrome/browser/safe_browsing/protocol_manager.h
index 965e502e4b08f31a6e119062323c2ece2eef66c0..275447606dbb93a97f116313532892e6b3d6f3e0 100644
--- a/chrome/browser/safe_browsing/protocol_manager.h
+++ b/chrome/browser/safe_browsing/protocol_manager.h
@@ -191,11 +191,6 @@ class SafeBrowsingProtocolManager : public net::URLFetcherDelegate,
// Returns whether another update is currently scheduled.
bool IsUpdateScheduled() const;
- // Called when app changes status of foreground or background.
- void SetAppInForeground(bool foreground) {
- app_in_foreground_ = foreground;
- }
-
protected:
// Constructs a SafeBrowsingProtocolManager for |delegate| that issues
// network requests using |request_context_getter|.
@@ -469,9 +464,6 @@ class SafeBrowsingProtocolManager : public net::URLFetcherDelegate,
// ID for URLFetchers for testing.
int url_fetcher_id_;
- // Whether the app is in foreground or background.
- bool app_in_foreground_;
-
DISALLOW_COPY_AND_ASSIGN(SafeBrowsingProtocolManager);
};
« no previous file with comments | « chrome/browser/android/chrome_application.cc ('k') | chrome/browser/safe_browsing/protocol_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698