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

Unified Diff: chrome/common/net/url_request_intercept_job.h

Issue 5298008: net: Add namespace net to URLRequest and URLRequestJob classes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: some chromeos fixes Created 10 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/net/url_request_intercept_job.h
diff --git a/chrome/common/net/url_request_intercept_job.h b/chrome/common/net/url_request_intercept_job.h
index 3835fe50674c64044f8fe1b5ec7c1c73e0723660..6d47bfce1d39e51d3c0062eed25ebaabca0c9239 100644
--- a/chrome/common/net/url_request_intercept_job.h
+++ b/chrome/common/net/url_request_intercept_job.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 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.
@@ -14,18 +14,21 @@
#include "chrome/common/chrome_plugin_util.h"
#include "chrome/common/notification_registrar.h"
-class ChromePluginLib;
+namespace net {
class URLRequest;
+} // namespace net
+
+class ChromePluginLib;
// A request job that handles network requests intercepted by a Chrome plugin.
-class URLRequestInterceptJob
- : public URLRequestJob, public NotificationObserver {
+class URLRequestInterceptJob : public net::URLRequestJob,
+ public NotificationObserver {
public:
static URLRequestInterceptJob* FromCPRequest(CPRequest* request) {
return ScopableCPRequest::GetData<URLRequestInterceptJob*>(request);
}
- URLRequestInterceptJob(URLRequest* request, ChromePluginLib* plugin,
+ URLRequestInterceptJob(net::URLRequest* request, ChromePluginLib* plugin,
ScopableCPRequest* cprequest);
virtual ~URLRequestInterceptJob();

Powered by Google App Engine
This is Rietveld 408576698