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

Side by Side Diff: net/base/trace_net_log_observer_unittest.cc

Issue 895853003: Update from https://crrev.com/314320 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « net/base/trace_net_log_observer.cc ('k') | net/cert/cert_status_flags.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/base/trace_net_log_observer.h" 5 #include "net/base/trace_net_log_observer.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/debug/trace_event.h"
11 #include "base/debug/trace_event_impl.h"
12 #include "base/json/json_reader.h" 10 #include "base/json/json_reader.h"
13 #include "base/logging.h" 11 #include "base/logging.h"
14 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
15 #include "base/memory/ref_counted_memory.h" 13 #include "base/memory/ref_counted_memory.h"
16 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
17 #include "base/run_loop.h" 15 #include "base/run_loop.h"
18 #include "base/strings/stringprintf.h" 16 #include "base/strings/stringprintf.h"
17 #include "base/trace_event/trace_event.h"
18 #include "base/trace_event/trace_event_impl.h"
19 #include "base/values.h" 19 #include "base/values.h"
20 #include "net/base/capturing_net_log.h" 20 #include "net/base/capturing_net_log.h"
21 #include "net/base/net_log.h" 21 #include "net/base/net_log.h"
22 #include "testing/gtest/include/gtest/gtest.h" 22 #include "testing/gtest/include/gtest/gtest.h"
23 23
24 using base::debug::TraceLog; 24 using base::debug::TraceLog;
25 25
26 namespace net { 26 namespace net {
27 27
28 namespace { 28 namespace {
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after
369 EXPECT_TRUE(item1->GetString("args.params.foo", &item1_params)); 369 EXPECT_TRUE(item1->GetString("args.params.foo", &item1_params));
370 EXPECT_EQ("bar", item1_params); 370 EXPECT_EQ("bar", item1_params);
371 371
372 EXPECT_TRUE(item2->GetString("args.params", &item2_params)); 372 EXPECT_TRUE(item2->GetString("args.params", &item2_params));
373 EXPECT_TRUE(item2_params.empty()); 373 EXPECT_TRUE(item2_params.empty());
374 } 374 }
375 375
376 } // namespace 376 } // namespace
377 377
378 } // namespace net 378 } // namespace net
OLDNEW
« no previous file with comments | « net/base/trace_net_log_observer.cc ('k') | net/cert/cert_status_flags.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698