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

Unified Diff: chrome/browser/chromeos/gview_request_interceptor.h

Issue 5734002: Continuation of CL 5685007, rename the singleton accessor method in more files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/gview_request_interceptor.h
diff --git a/chrome/browser/chromeos/gview_request_interceptor.h b/chrome/browser/chromeos/gview_request_interceptor.h
index 0a1691b772893fa3147bfa67ace0c9032c619e30..9fe0139bbe869e053710df85d6214f3d09b901ab 100644
--- a/chrome/browser/chromeos/gview_request_interceptor.h
+++ b/chrome/browser/chromeos/gview_request_interceptor.h
@@ -32,7 +32,7 @@ class GViewRequestInterceptor : public net::URLRequest::Interceptor {
virtual net::URLRequestJob* MaybeInterceptResponse(net::URLRequest* request);
// Singleton accessor.
- static net::URLRequest::Interceptor* GetInstance();
+ static GViewRequestInterceptor* GetInstance();
M-A Ruel 2010/12/13 15:54:02 I think you should keep returning the interface.
Satish 2010/12/13 15:57:49 This change is required because soon Singleton<T>
M-A Ruel 2010/12/13 16:16:37 No problem then. lgtm
private:
friend struct DefaultSingletonTraits<GViewRequestInterceptor>;

Powered by Google App Engine
This is Rietveld 408576698