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

Unified Diff: webkit/appcache/appcache_service.h

Issue 6056007: net: Add namespace net to the remaining files under url_request directory. (Closed)
Patch Set: chromeos fixes Created 9 years, 12 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/websockets/websocket.h ('k') | webkit/fileapi/file_system_operation.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/appcache/appcache_service.h
diff --git a/webkit/appcache/appcache_service.h b/webkit/appcache/appcache_service.h
index 4e683414d05a574c8e5a7435d1cb9cbaab41f388..7d200b3f8e229956e0f92e0cc55a714c2e8c2cde 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);
};
« no previous file with comments | « net/websockets/websocket.h ('k') | webkit/fileapi/file_system_operation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698