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

Unified Diff: chrome/browser/geolocation/geolocation_permission_context_unittest.cc

Issue 5984001: Client-based geolocation refactoring. (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
« no previous file with comments | « no previous file | chrome/chrome_tests.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/geolocation/geolocation_permission_context_unittest.cc
diff --git a/chrome/browser/geolocation/geolocation_permission_context_unittest.cc b/chrome/browser/geolocation/geolocation_permission_context_unittest.cc
index 6e4086281a74d6af305115840b4402b254fe0b66..4ee93b12a29b470121b5cd679e381dd3d7ec51b0 100644
--- a/chrome/browser/geolocation/geolocation_permission_context_unittest.cc
+++ b/chrome/browser/geolocation/geolocation_permission_context_unittest.cc
@@ -290,6 +290,7 @@ TEST_F(GeolocationPermissionContextTests, CancelGeolocationPermissionRequest) {
requesting_frame_1, requesting_frame_0));
}
+#if !defined(ENABLE_CLIENT_BASED_GEOLOCATION)
TEST_F(GeolocationPermissionContextTests, StopUpdating) {
bulach 2010/12/17 11:19:47 the way we normally disable tests is: // TODO(jkn
GURL requesting_frame("http://www.example.com/geolocation");
NavigateAndCommit(requesting_frame);
@@ -312,6 +313,7 @@ TEST_F(GeolocationPermissionContextTests, StopUpdating) {
profile()->GetGeolocationContentSettingsMap()->GetContentSetting(
requesting_frame, requesting_frame));
}
+#endif
TEST_F(GeolocationPermissionContextTests, InvalidURL) {
GURL invalid_embedder;
« no previous file with comments | « no previous file | chrome/chrome_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698