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

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

Issue 63253002: Rename WebKit namespace to blink (part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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) 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 "base/memory/scoped_vector.h" 7 #include "base/memory/scoped_vector.h"
8 #include "base/message_loop/message_loop.h" 8 #include "base/message_loop/message_loop.h"
9 #include "base/strings/string_number_conversions.h" 9 #include "base/strings/string_number_conversions.h"
10 #include "content/browser/browser_thread_impl.h" 10 #include "content/browser/browser_thread_impl.h"
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 false, // is_main_frame 150 false, // is_main_frame
151 0, // frame_id 151 0, // frame_id
152 false, // parent_is_main_frame 152 false, // parent_is_main_frame
153 0, // parent_frame_id 153 0, // parent_frame_id
154 ResourceType::SUB_RESOURCE, // resource_type 154 ResourceType::SUB_RESOURCE, // resource_type
155 PAGE_TRANSITION_LINK, // transition_type 155 PAGE_TRANSITION_LINK, // transition_type
156 false, // is_download 156 false, // is_download
157 false, // is_stream 157 false, // is_stream
158 true, // allow_download 158 true, // allow_download
159 false, // has_user_gesture 159 false, // has_user_gesture
160 WebKit::WebReferrerPolicyDefault, // referrer_policy 160 blink::WebReferrerPolicyDefault, // referrer_policy
161 NULL, // context 161 NULL, // context
162 base::WeakPtr<ResourceMessageFilter>(), // filter 162 base::WeakPtr<ResourceMessageFilter>(), // filter
163 true); // is_async 163 true); // is_async
164 info->AssociateWithRequest(url_request.get()); 164 info->AssociateWithRequest(url_request.get());
165 return url_request.Pass(); 165 return url_request.Pass();
166 } 166 }
167 167
168 scoped_ptr<net::URLRequest> NewURLRequest(const char* url, 168 scoped_ptr<net::URLRequest> NewURLRequest(const char* url,
169 net::RequestPriority priority) { 169 net::RequestPriority priority) {
170 return NewURLRequestWithRoute(url, priority, kRouteId); 170 return NewURLRequestWithRoute(url, priority, kRouteId);
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
436 scoped_ptr<TestRequest> low(NewRequest("http://host/high", net::LOWEST)); 436 scoped_ptr<TestRequest> low(NewRequest("http://host/high", net::LOWEST));
437 437
438 scoped_ptr<TestRequest> request( 438 scoped_ptr<TestRequest> request(
439 NewRequest("chrome-extension://req", net::LOWEST)); 439 NewRequest("chrome-extension://req", net::LOWEST));
440 EXPECT_TRUE(request->started()); 440 EXPECT_TRUE(request->started());
441 } 441 }
442 442
443 } // unnamed namespace 443 } // unnamed namespace
444 444
445 } // namespace content 445 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/loader/resource_request_info_impl.cc ('k') | content/browser/plugin_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698