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

Unified Diff: chrome/browser/net/net_log_temp_file_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 | « no previous file | content/browser/download/download_file_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/net_log_temp_file_unittest.cc
diff --git a/chrome/browser/net/net_log_temp_file_unittest.cc b/chrome/browser/net/net_log_temp_file_unittest.cc
index 572f12ce749f00ef2eb8ea539a9a4f0f2f94f6ba..a620bc68109c0617f1c8a1b3488e536b1e57620f 100644
--- a/chrome/browser/net/net_log_temp_file_unittest.cc
+++ b/chrome/browser/net/net_log_temp_file_unittest.cc
@@ -14,6 +14,7 @@
#include "build/build_config.h"
#include "chrome/browser/net/chrome_net_log.h"
#include "content/public/test/test_browser_thread.h"
+#include "net/log/write_to_file_net_log_observer.h"
#include "testing/gtest/include/gtest/gtest.h"
using content::BrowserThread;
@@ -198,8 +199,8 @@ class NetLogTempFileTest : public ::testing::Test {
EXPECT_EQ("LOGGING", GetStateString());
EXPECT_EQ(expected_log_type, net_log_temp_file_->log_type());
EXPECT_EQ(expected_log_type_string, GetLogTypeString());
-
- EXPECT_EQ(expected_capture_mode, net_log_->GetCaptureMode());
+ EXPECT_EQ(expected_capture_mode,
+ net_log_temp_file_->write_to_file_observer_->capture_mode());
// Check GetFilePath returns false when still writing to the file.
base::FilePath net_export_file_path;
« no previous file with comments | « no previous file | content/browser/download/download_file_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698