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

Unified Diff: webkit/tools/test_shell/simple_file_writer.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
Index: webkit/tools/test_shell/simple_file_writer.h
diff --git a/webkit/tools/test_shell/simple_file_writer.h b/webkit/tools/test_shell/simple_file_writer.h
index 285fc02a5d367c482d1a1d7e31b6a5141aa0e2c2..238546e6a6b5f4d249a29f9106691ac3a3bccb68 100644
--- a/webkit/tools/test_shell/simple_file_writer.h
+++ b/webkit/tools/test_shell/simple_file_writer.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.
@@ -9,8 +9,9 @@
#include "base/weak_ptr.h"
#include "webkit/fileapi/webfilewriter_base.h"
+namespace net {
class URLRequestContext;
-
+} // namespace net
// An implementation of WebFileWriter for use in test_shell and DRT.
class SimpleFileWriter : public fileapi::WebFileWriterBase,
@@ -22,7 +23,7 @@ class SimpleFileWriter : public fileapi::WebFileWriterBase,
// Called by SimpleResourceLoaderBridge when the context is
// created and destroyed.
- static void InitializeOnIOThread(URLRequestContext* request_context) {
+ static void InitializeOnIOThread(net::URLRequestContext* request_context) {
request_context_ = request_context;
}
static void CleanupOnIOThread() {
@@ -39,7 +40,7 @@ class SimpleFileWriter : public fileapi::WebFileWriterBase,
private:
class IOThreadProxy;
scoped_refptr<IOThreadProxy> io_thread_proxy_;
- static URLRequestContext* request_context_;
+ static net::URLRequestContext* request_context_;
};
#endif // WEBKIT_TOOLS_TEST_SHELL_SIMPLE_FILE_WRITER_H_
« no previous file with comments | « webkit/tools/test_shell/simple_appcache_system.cc ('k') | webkit/tools/test_shell/simple_socket_stream_bridge.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698