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

Side by Side Diff: webkit/tools/test_shell/simple_appcache_system.cc

Issue 5384002: net: Remove typedef net::URLRequest URLRequest; (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review Created 10 years 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "webkit/tools/test_shell/simple_appcache_system.h" 5 #include "webkit/tools/test_shell/simple_appcache_system.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after
429 429
430 // The IO thread needs to be running for this system to work. 430 // The IO thread needs to be running for this system to work.
431 SimpleResourceLoaderBridge::EnsureIOThread(); 431 SimpleResourceLoaderBridge::EnsureIOThread();
432 432
433 if (!is_initialized()) 433 if (!is_initialized())
434 return NULL; 434 return NULL;
435 return new WebApplicationCacheHostImpl(client, backend_proxy_.get()); 435 return new WebApplicationCacheHostImpl(client, backend_proxy_.get());
436 } 436 }
437 437
438 void SimpleAppCacheSystem::SetExtraRequestBits( 438 void SimpleAppCacheSystem::SetExtraRequestBits(
439 URLRequest* request, int host_id, ResourceType::Type resource_type) { 439 net::URLRequest* request, int host_id, ResourceType::Type resource_type) {
440 if (is_initialized()) { 440 if (is_initialized()) {
441 DCHECK(is_io_thread()); 441 DCHECK(is_io_thread());
442 AppCacheInterceptor::SetExtraRequestInfo( 442 AppCacheInterceptor::SetExtraRequestInfo(
443 request, service_, kSingleProcessId, host_id, resource_type); 443 request, service_, kSingleProcessId, host_id, resource_type);
444 } 444 }
445 } 445 }
446 446
447 void SimpleAppCacheSystem::GetExtraResponseBits( 447 void SimpleAppCacheSystem::GetExtraResponseBits(
448 URLRequest* request, int64* cache_id, GURL* manifest_url) { 448 net::URLRequest* request, int64* cache_id, GURL* manifest_url) {
449 if (is_initialized()) { 449 if (is_initialized()) {
450 DCHECK(is_io_thread()); 450 DCHECK(is_io_thread());
451 AppCacheInterceptor::GetExtraResponseInfo( 451 AppCacheInterceptor::GetExtraResponseInfo(
452 request, cache_id, manifest_url); 452 request, cache_id, manifest_url);
453 } 453 }
454 } 454 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698