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

Side by Side Diff: chrome/browser/net/load_timing_browsertest.cc

Issue 14691006: Move SpawnedTestServer to its own subdirectory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sort gyp Created 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 <string> 5 #include <string>
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "base/memory/weak_ptr.h" 12 #include "base/memory/weak_ptr.h"
13 #include "base/message_loop.h" 13 #include "base/message_loop.h"
14 #include "base/path_service.h" 14 #include "base/path_service.h"
15 #include "base/stringprintf.h" 15 #include "base/stringprintf.h"
16 #include "chrome/browser/ui/browser.h" 16 #include "chrome/browser/ui/browser.h"
17 #include "chrome/browser/ui/tabs/tab_strip_model.h" 17 #include "chrome/browser/ui/tabs/tab_strip_model.h"
18 #include "chrome/common/chrome_paths.h" 18 #include "chrome/common/chrome_paths.h"
19 #include "chrome/test/base/in_process_browser_test.h" 19 #include "chrome/test/base/in_process_browser_test.h"
20 #include "chrome/test/base/ui_test_utils.h" 20 #include "chrome/test/base/ui_test_utils.h"
21 #include "content/public/browser/browser_thread.h" 21 #include "content/public/browser/browser_thread.h"
22 #include "content/public/test/browser_test_utils.h" 22 #include "content/public/test/browser_test_utils.h"
23 #include "googleurl/src/gurl.h" 23 #include "googleurl/src/gurl.h"
24 #include "net/base/load_timing_info.h" 24 #include "net/base/load_timing_info.h"
25 #include "net/test/spawned_test_server.h" 25 #include "net/test/spawned_test_server/spawned_test_server.h"
26 #include "net/url_request/url_request_file_job.h" 26 #include "net/url_request/url_request_file_job.h"
27 #include "net/url_request/url_request_filter.h" 27 #include "net/url_request/url_request_filter.h"
28 #include "net/url_request/url_request_job_factory.h" 28 #include "net/url_request/url_request_job_factory.h"
29 29
30 // This file tests that net::LoadTimingInfo is correctly hooked up to the 30 // This file tests that net::LoadTimingInfo is correctly hooked up to the
31 // NavigationTiming API. It depends on behavior in a large number of files 31 // NavigationTiming API. It depends on behavior in a large number of files
32 // spread across multiple projects, so is somewhat arbitrarily put in 32 // spread across multiple projects, so is somewhat arbitrarily put in
33 // chrome/browser/net. 33 // chrome/browser/net.
34 34
35 using content::BrowserThread; 35 using content::BrowserThread;
(...skipping 552 matching lines...) Expand 10 before | Expand all | Expand 10 after
588 navigation_deltas.send_start.GetDelta()); 588 navigation_deltas.send_start.GetDelta());
589 // The only times that are guaranteed to be distinct are send_start and 589 // The only times that are guaranteed to be distinct are send_start and
590 // received_headers end. 590 // received_headers end.
591 EXPECT_LT(navigation_deltas.send_start.GetDelta(), 591 EXPECT_LT(navigation_deltas.send_start.GetDelta(),
592 navigation_deltas.receive_headers_end.GetDelta()); 592 navigation_deltas.receive_headers_end.GetDelta());
593 593
594 EXPECT_TRUE(navigation_deltas.ssl_start.is_null()); 594 EXPECT_TRUE(navigation_deltas.ssl_start.is_null());
595 } 595 }
596 596
597 } // namespace 597 } // namespace
OLDNEW
« no previous file with comments | « chrome/browser/net/http_pipelining_compatibility_client_unittest.cc ('k') | chrome/browser/net/network_stats_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698