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

Unified Diff: content/browser/geolocation/mock_location_provider.h

Issue 1170623003: Revert "content: Remove use of MessageLoopProxy and deprecated MessageLoop APIs" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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: content/browser/geolocation/mock_location_provider.h
diff --git a/content/browser/geolocation/mock_location_provider.h b/content/browser/geolocation/mock_location_provider.h
index bedd2a4fad614cf8b5ca2fd7fe297902ac9ecb75..882a447330d0d5e416f8f90666787b7e3019567c 100644
--- a/content/browser/geolocation/mock_location_provider.h
+++ b/content/browser/geolocation/mock_location_provider.h
@@ -8,7 +8,6 @@
#include "base/compiler_specific.h"
#include "base/memory/ref_counted.h"
-#include "base/single_thread_task_runner.h"
#include "base/threading/thread.h"
#include "content/browser/geolocation/location_provider_base.h"
#include "content/public/common/geoposition.h"
@@ -37,7 +36,7 @@ class MockLocationProvider : public LocationProviderBase {
bool is_permission_granted_;
MockLocationProvider** self_ref_;
- scoped_refptr<base::SingleThreadTaskRunner> provider_task_runner_;
+ scoped_refptr<base::MessageLoopProxy> provider_loop_;
// Set when an instance of the mock is created via a factory function.
static MockLocationProvider* instance_;
« no previous file with comments | « content/browser/geolocation/location_api_adapter_android.cc ('k') | content/browser/geolocation/mock_location_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698