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

Side by Side Diff: net/log/file_net_log_observer_unittest.cc

Issue 2876013002: Add missing IWYU message_loop.h includes. (Closed)
Patch Set: fix upstream Created 3 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 #include "net/log/file_net_log_observer.h" 5 #include "net/log/file_net_log_observer.h"
6 6
7 #include <math.h> 7 #include <math.h>
8 8
9 #include <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
11 #include <utility> 11 #include <utility>
12 #include <vector> 12 #include <vector>
13 13
14 #include "base/files/file_path.h" 14 #include "base/files/file_path.h"
15 #include "base/files/file_util.h" 15 #include "base/files/file_util.h"
16 #include "base/files/scoped_file.h" 16 #include "base/files/scoped_file.h"
17 #include "base/files/scoped_temp_dir.h" 17 #include "base/files/scoped_temp_dir.h"
18 #include "base/json/json_reader.h" 18 #include "base/json/json_reader.h"
19 #include "base/json/json_writer.h" 19 #include "base/json/json_writer.h"
20 #include "base/memory/ptr_util.h" 20 #include "base/memory/ptr_util.h"
21 #include "base/message_loop/message_loop.h"
21 #include "base/strings/string_util.h" 22 #include "base/strings/string_util.h"
22 #include "base/strings/stringprintf.h" 23 #include "base/strings/stringprintf.h"
23 #include "base/threading/thread.h" 24 #include "base/threading/thread.h"
24 #include "base/values.h" 25 #include "base/values.h"
25 #include "net/base/test_completion_callback.h" 26 #include "net/base/test_completion_callback.h"
26 #include "net/log/net_log_entry.h" 27 #include "net/log/net_log_entry.h"
27 #include "net/log/net_log_event_type.h" 28 #include "net/log/net_log_event_type.h"
28 #include "net/log/net_log_parameters_callback.h" 29 #include "net/log/net_log_parameters_callback.h"
29 #include "net/log/net_log_source.h" 30 #include "net/log/net_log_source.h"
30 #include "net/log/net_log_source_type.h" 31 #include "net/log/net_log_source_type.h"
(...skipping 756 matching lines...) Expand 10 before | Expand all | Expand 10 after
787 // Check that there are events written to all files. 788 // Check that there are events written to all files.
788 for (int i = 0; i < kTotalNumFiles; i++) { 789 for (int i = 0; i < kTotalNumFiles; i++) {
789 ASSERT_GE(GetFileSize(GetEventFilePath(i)), 790 ASSERT_GE(GetFileSize(GetEventFilePath(i)),
790 static_cast<int64_t>(kEventSize)); 791 static_cast<int64_t>(kEventSize));
791 } 792 }
792 } 793 }
793 794
794 } // namespace 795 } // namespace
795 796
796 } // namespace net 797 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698