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

Unified Diff: content/browser/sensors/sensors_provider_impl.h

Issue 8678019: Move sensors interface into content/public/browser (since it's only used by browser directory). M... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix aura typo Created 9 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
« no previous file with comments | « content/browser/sensors/sensors_provider.h ('k') | content/browser/sensors/sensors_provider_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/sensors/sensors_provider_impl.h
===================================================================
--- content/browser/sensors/sensors_provider_impl.h (revision 111374)
+++ content/browser/sensors/sensors_provider_impl.h (working copy)
@@ -20,10 +20,10 @@
static ProviderImpl* GetInstance();
// Provider implementation
- virtual void AddListener(Listener* listener) OVERRIDE;
- virtual void RemoveListener(Listener* listener) OVERRIDE;
+ virtual void AddListener(content::SensorsListener* listener) OVERRIDE;
+ virtual void RemoveListener(content::SensorsListener* listener) OVERRIDE;
virtual void ScreenOrientationChanged(
- const ScreenOrientation& change) OVERRIDE;
+ content::ScreenOrientation change) OVERRIDE;
private:
friend struct DefaultSingletonTraits<ProviderImpl>;
@@ -31,7 +31,7 @@
ProviderImpl();
virtual ~ProviderImpl();
- typedef ObserverListThreadSafe<Listener> ListenerList;
+ typedef ObserverListThreadSafe<content::SensorsListener> ListenerList;
scoped_refptr<ListenerList> listeners_;
DISALLOW_COPY_AND_ASSIGN(ProviderImpl);
« no previous file with comments | « content/browser/sensors/sensors_provider.h ('k') | content/browser/sensors/sensors_provider_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698