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; |