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

Side by Side Diff: content/browser/loader/resource_scheduler_unittest.cc

Issue 2783973002: Moving LatencyInfo into a separate component. (Closed)
Patch Set: Rebase again Created 3 years, 8 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "content/browser/loader/resource_scheduler.h" 5 #include "content/browser/loader/resource_scheduler.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <utility> 8 #include <utility>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 12 matching lines...) Expand all
23 #include "content/public/test/test_browser_context.h" 23 #include "content/public/test/test_browser_context.h"
24 #include "content/public/test/test_browser_thread_bundle.h" 24 #include "content/public/test/test_browser_thread_bundle.h"
25 #include "content/test/test_render_view_host_factory.h" 25 #include "content/test/test_render_view_host_factory.h"
26 #include "content/test/test_web_contents.h" 26 #include "content/test/test_web_contents.h"
27 #include "net/base/host_port_pair.h" 27 #include "net/base/host_port_pair.h"
28 #include "net/base/request_priority.h" 28 #include "net/base/request_priority.h"
29 #include "net/http/http_server_properties_impl.h" 29 #include "net/http/http_server_properties_impl.h"
30 #include "net/url_request/url_request.h" 30 #include "net/url_request/url_request.h"
31 #include "net/url_request/url_request_test_util.h" 31 #include "net/url_request/url_request_test_util.h"
32 #include "testing/gtest/include/gtest/gtest.h" 32 #include "testing/gtest/include/gtest/gtest.h"
33 #include "ui/events/latency_info.h" 33 #include "ui/latency/latency_info.h"
34 #include "url/scheme_host_port.h" 34 #include "url/scheme_host_port.h"
35 35
36 using std::string; 36 using std::string;
37 37
38 namespace content { 38 namespace content {
39 39
40 namespace { 40 namespace {
41 41
42 class TestRequestFactory; 42 class TestRequestFactory;
43 43
(...skipping 908 matching lines...) Expand 10 before | Expand all | Expand 10 after
952 scheduler_->OnClientDeleted(kChildId2, kRouteId2); 952 scheduler_->OnClientDeleted(kChildId2, kRouteId2);
953 high.reset(); 953 high.reset();
954 delayable_requests.clear(); 954 delayable_requests.clear();
955 base::RunLoop().RunUntilIdle(); 955 base::RunLoop().RunUntilIdle();
956 EXPECT_TRUE(lowest->started()); 956 EXPECT_TRUE(lowest->started());
957 } 957 }
958 958
959 } // unnamed namespace 959 } // unnamed namespace
960 960
961 } // namespace content 961 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/gpu/gpu_process_host.cc ('k') | content/browser/renderer_host/input/main_thread_event_queue_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698