diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-06 04:19:30 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-06 04:19:30 +0000 |
commit | 27a112c2e8c464ddd4aed5e1f425204bb3f96d54 (patch) | |
tree | a02d4a66a90a040a04aa64cb94948c8e7df59658 /webkit/appcache | |
parent | e79cf09fd1bd403396a65a3c02642b075ec3d1d9 (diff) | |
download | chromium_src-27a112c2e8c464ddd4aed5e1f425204bb3f96d54.zip chromium_src-27a112c2e8c464ddd4aed5e1f425204bb3f96d54.tar.gz chromium_src-27a112c2e8c464ddd4aed5e1f425204bb3f96d54.tar.bz2 |
net: Add namespace net to the remaining files under url_request directory.
It just adds the 'namespace net' to these files and a typedef for them, because there are many
entries to fix in one pass. They will be fixed later.
BUG=64263
TEST=trybots
Review URL: http://codereview.chromium.org/6056007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70592 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/appcache')
-rw-r--r-- | webkit/appcache/appcache_service.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/webkit/appcache/appcache_service.h b/webkit/appcache/appcache_service.h index 4e68341..7d200b3 100644 --- a/webkit/appcache/appcache_service.h +++ b/webkit/appcache/appcache_service.h @@ -1,4 +1,4 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -18,7 +18,10 @@ #include "webkit/appcache/appcache_storage.h" class FilePath; + +namespace net { class URLRequestContext; +} // namespace net namespace base { class MessageLoopProxy; @@ -74,8 +77,8 @@ class AppCacheService { // on the IO thread. We do NOT add a reference to the request context, // it is the callers responsibility to ensure that the pointer // remains valid while set. - URLRequestContext* request_context() const { return request_context_; } - void set_request_context(URLRequestContext* context) { + net::URLRequestContext* request_context() const { return request_context_; } + void set_request_context(net::URLRequestContext* context) { request_context_ = context; } @@ -110,7 +113,8 @@ class AppCacheService { scoped_ptr<AppCacheStorage> storage_; PendingAsyncHelpers pending_helpers_; BackendMap backends_; // One 'backend' per child process. - URLRequestContext* request_context_; // Context for use during cache updates. + // Context for use during cache updates. + net::URLRequestContext* request_context_; DISALLOW_COPY_AND_ASSIGN(AppCacheService); }; |