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_ |