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

Unified Diff: chrome/browser/chrome_plugin_unittest.cc

Issue 1702016: Changed UrlFetcher to use a MessageLoopProxy instead of directly relying on C... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 8 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 | « base/message_loop_proxy.h ('k') | chrome/browser/chrome_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_plugin_unittest.cc
===================================================================
--- chrome/browser/chrome_plugin_unittest.cc (revision 46098)
+++ chrome/browser/chrome_plugin_unittest.cc (working copy)
@@ -4,6 +4,7 @@
// Tests exercising the Chrome Plugin API.
#include "base/file_util.h"
+#include "base/message_loop_proxy.h"
#include "base/path_service.h"
#include "base/string_util.h"
#include "chrome/browser/chrome_plugin_host.h"
@@ -31,6 +32,10 @@
context_ = new TestURLRequestContext();
return context_;
}
+ virtual scoped_refptr<MessageLoopProxy> GetIOMessageLoopProxy() {
+ return ChromeThread::GetMessageLoopProxyForThread(ChromeThread::IO);
+ }
+
private:
~TestURLRequestContextGetter() {}
scoped_refptr<URLRequestContext> context_;
@@ -299,4 +304,3 @@
}
} // namespace
-
« no previous file with comments | « base/message_loop_proxy.h ('k') | chrome/browser/chrome_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698