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

Unified Diff: net/log/write_to_file_net_log_observer_unittest.cc

Issue 1122483004: Remove NetLog::GetCaptureMode() and NetLogCaptureMode::None() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mmenke_refactor
Patch Set: second attempt at fixing int --> bool warning on windows Created 5 years, 7 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 | « net/log/net_log_util.cc ('k') | net/proxy/proxy_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/log/write_to_file_net_log_observer_unittest.cc
diff --git a/net/log/write_to_file_net_log_observer_unittest.cc b/net/log/write_to_file_net_log_observer_unittest.cc
index 4cabfe8cc83eece142915f15b53a3ebbe822bbbe..6a8280e627022c1cc19642f4ea18faa8f4eef910 100644
--- a/net/log/write_to_file_net_log_observer_unittest.cc
+++ b/net/log/write_to_file_net_log_observer_unittest.cc
@@ -67,7 +67,6 @@ TEST_F(WriteToFileNetLogObserverTest, CaptureMode) {
WriteToFileNetLogObserver logger;
logger.StartObserving(&net_log_, file.Pass(), nullptr, nullptr);
EXPECT_EQ(NetLogCaptureMode::Default(), logger.capture_mode());
- EXPECT_EQ(NetLogCaptureMode::Default(), net_log_.GetCaptureMode());
logger.StopObserving(nullptr);
file.reset(base::OpenFile(log_path_, "w"));
@@ -76,8 +75,6 @@ TEST_F(WriteToFileNetLogObserverTest, CaptureMode) {
logger.StartObserving(&net_log_, file.Pass(), nullptr, nullptr);
EXPECT_EQ(NetLogCaptureMode::IncludeCookiesAndCredentials(),
logger.capture_mode());
- EXPECT_EQ(NetLogCaptureMode::IncludeCookiesAndCredentials(),
- net_log_.GetCaptureMode());
logger.StopObserving(nullptr);
}
« no previous file with comments | « net/log/net_log_util.cc ('k') | net/proxy/proxy_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698