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

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

Issue 6756001: Removing 'off the record' references. Contributed by vipul.bhasin@gmail.com (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Removing off the record references from the code Created 9 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
« no previous file with comments | « chrome/browser/extensions/extensions_ui.cc ('k') | chrome/browser/ui/webui/chromeos/proxy_settings_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/safe_browsing/client_side_detection_host_unittest.cc
diff --git a/chrome/browser/safe_browsing/client_side_detection_host_unittest.cc b/chrome/browser/safe_browsing/client_side_detection_host_unittest.cc
index a2d07ff81bd3555c1660ceae03e68dc975e7f41d..44703899dd38f6b9cb0818c481bab0790f2fad93 100644
--- a/chrome/browser/safe_browsing/client_side_detection_host_unittest.cc
+++ b/chrome/browser/safe_browsing/client_side_detection_host_unittest.cc
@@ -159,7 +159,7 @@ class ClientSideDetectionHostTest : public RenderViewHostTestHarness {
void ExpectPreClassificationChecks(const GURL& url,
const bool* is_private,
- const bool* is_off_the_record,
+ const bool* is_incognito,
const bool* match_csd_whitelist,
const bool* get_valid_cached_result,
const bool* is_in_cache,
@@ -168,9 +168,9 @@ class ClientSideDetectionHostTest : public RenderViewHostTestHarness {
EXPECT_CALL(*csd_service_, IsPrivateIPAddress(_))
.WillOnce(Return(*is_private));
}
- if (is_off_the_record) {
+ if (is_incognito) {
EXPECT_CALL(*mock_profile_, IsOffTheRecord())
- .WillRepeatedly(Return(*is_off_the_record));
+ .WillRepeatedly(Return(*is_incognito));
}
if (match_csd_whitelist) {
EXPECT_CALL(*sb_service_, MatchCsdWhitelistUrl(url))
« no previous file with comments | « chrome/browser/extensions/extensions_ui.cc ('k') | chrome/browser/ui/webui/chromeos/proxy_settings_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698