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

Side by Side Diff: chrome/browser/safe_browsing/client_side_detection_host.h

Issue 99423007: [SafeBrowsing] Reset malware indicator on page nav start. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: use GetVisibleEntry Created 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/safe_browsing/client_side_detection_host.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_SAFE_BROWSING_CLIENT_SIDE_DETECTION_HOST_H_ 5 #ifndef CHROME_BROWSER_SAFE_BROWSING_CLIENT_SIDE_DETECTION_HOST_H_
6 #define CHROME_BROWSER_SAFE_BROWSING_CLIENT_SIDE_DETECTION_HOST_H_ 6 #define CHROME_BROWSER_SAFE_BROWSING_CLIENT_SIDE_DETECTION_HOST_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 scoped_ptr<SafeBrowsingUIManager::UnsafeResource> unsafe_resource_; 166 scoped_ptr<SafeBrowsingUIManager::UnsafeResource> unsafe_resource_;
167 167
168 // Whether the malware IP matching feature killswitch is on. 168 // Whether the malware IP matching feature killswitch is on.
169 // This should be accessed from UI thread. 169 // This should be accessed from UI thread.
170 bool malware_killswitch_on_; 170 bool malware_killswitch_on_;
171 171
172 // Whether the malware bad ip matching and report feature is enabled. 172 // Whether the malware bad ip matching and report feature is enabled.
173 // This should be accessed from UI thread. 173 // This should be accessed from UI thread.
174 bool malware_report_enabled_; 174 bool malware_report_enabled_;
175 175
176 // Set to true if we got a match on malware or phishing for the current
177 // page load. Is reset to false when DidNavigateMainFrame is received.
178 bool malware_or_phishing_match_;
179
180 DISALLOW_COPY_AND_ASSIGN(ClientSideDetectionHost); 176 DISALLOW_COPY_AND_ASSIGN(ClientSideDetectionHost);
181 }; 177 };
182 178
183 } // namespace safe_browsing 179 } // namespace safe_browsing
184 180
185 #endif // CHROME_BROWSER_SAFE_BROWSING_CLIENT_SIDE_DETECTION_HOST_H_ 181 #endif // CHROME_BROWSER_SAFE_BROWSING_CLIENT_SIDE_DETECTION_HOST_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/safe_browsing/client_side_detection_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698