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

Unified Diff: chrome/browser/safe_browsing/remote_database_manager.cc

Issue 1515703005: WebRequest API: add more resource types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Replace == with && 2x Created 5 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: chrome/browser/safe_browsing/remote_database_manager.cc
diff --git a/chrome/browser/safe_browsing/remote_database_manager.cc b/chrome/browser/safe_browsing/remote_database_manager.cc
index 9eb0d7e980b7e4a4f03980de6a2337c764e2762c..8a424997617ae90a3348a567de87d0512560a2b4 100644
--- a/chrome/browser/safe_browsing/remote_database_manager.cc
+++ b/chrome/browser/safe_browsing/remote_database_manager.cc
@@ -104,7 +104,7 @@ RemoteSafeBrowsingDatabaseManager::RemoteSafeBrowsingDatabaseManager()
if (ints_str.empty()) {
// By default, we check all types except a few.
static_assert(content::RESOURCE_TYPE_LAST_TYPE ==
- content::RESOURCE_TYPE_SERVICE_WORKER + 1,
+ content::RESOURCE_TYPE_PLUGIN_RESOURCE + 1,
"Decide if new resource type should be skipped on mobile.");
for (int t_int = 0; t_int < content::RESOURCE_TYPE_LAST_TYPE; t_int++) {
content::ResourceType t = static_cast<content::ResourceType>(t_int);

Powered by Google App Engine
This is Rietveld 408576698