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

Unified Diff: chrome/renderer/geolocation_dispatcher_old.cc

Issue 5612005: Client-based geolocation support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase on trunk 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.cc
diff --git a/chrome/renderer/geolocation_dispatcher_old.cc b/chrome/renderer/geolocation_dispatcher_old.cc
index a6eff8bf449d172b2543575f544064c511513130..4a235c73b9a802316db6aa173bcb0d8483a9e162 100644
--- a/chrome/renderer/geolocation_dispatcher_old.cc
+++ b/chrome/renderer/geolocation_dispatcher_old.cc
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#if !defined(ENABLE_CLIENT_BASED_GEOLOCATION)
#include "chrome/renderer/geolocation_dispatcher_old.h"
-
#include "base/command_line.h"
#include "chrome/common/chrome_switches.h"
#include "chrome/renderer/render_view.h"
@@ -113,3 +113,4 @@ void GeolocationDispatcherOld::OnGeolocationPositionUpdated(
}
}
}
+#endif // !ENABLE_CLIENT_BASED_GEOLOCATION

Powered by Google App Engine
This is Rietveld 408576698