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

Unified Diff: chrome/renderer/geolocation_dispatcher_old.h

Issue 5612005: Client-based geolocation support. (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/renderer/geolocation_dispatcher_old.h
diff --git a/chrome/renderer/geolocation_dispatcher_old.h b/chrome/renderer/geolocation_dispatcher_old.h
index 41473f3d42299acb58b1afe13a542634cb0c7991..871006dbe604d6aa4684fa513da099ddfbe47445 100644
--- a/chrome/renderer/geolocation_dispatcher_old.h
+++ b/chrome/renderer/geolocation_dispatcher_old.h
@@ -6,6 +6,10 @@
#define CHROME_RENDERER_GEOLOCATION_DISPATCHER_OLD_H_
#pragma once
+#if !defined(ENABLE_CLIENT_BASED_GEOLOCATION)
+// TODO(jknotten): Remove this class once the new client-based implementation is
+// checked in (see http://crbug.com/59908).
+
#include "base/basictypes.h"
#include "base/id_map.h"
#include "ipc/ipc_message.h"
@@ -21,8 +25,6 @@ struct Geoposition;
// It's the complement of GeolocationDispatcherHostOld (owned by
// RenderViewHost).
-// TODO(jknotten): Remove this class once the new client-based implementation is
-// checked in (see http://crbug.com/59908).
class GeolocationDispatcherOld : public WebKit::WebGeolocationService {
public:
explicit GeolocationDispatcherOld(RenderView* render_view);
@@ -59,4 +61,5 @@ class GeolocationDispatcherOld : public WebKit::WebGeolocationService {
DISALLOW_COPY_AND_ASSIGN(GeolocationDispatcherOld);
};
+#endif // ENABLE_CLIENT_BASED_GEOLOCATION
bulach 2010/12/07 11:18:42 \n
#endif // CHROME_RENDERER_GEOLOCATION_DISPATCHER_OLD_H_

Powered by Google App Engine
This is Rietveld 408576698