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

Unified Diff: chrome/browser/geolocation/wifi_data_provider_common.h

Issue 556106: Add tests for the geolocation network provider... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 11 months 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/browser/geolocation/wifi_data_provider_common.h
===================================================================
--- chrome/browser/geolocation/wifi_data_provider_common.h (revision 37850)
+++ chrome/browser/geolocation/wifi_data_provider_common.h (working copy)
@@ -7,6 +7,7 @@
#include <assert.h>
+#include "base/logging.h"
#include "base/string16.h"
#include "base/basictypes.h"
@@ -38,7 +39,7 @@
} else if (polling_interval_ == DEFAULT_INTERVAL) {
polling_interval_ = NO_CHANGE_INTERVAL;
} else {
- assert(polling_interval_ == NO_CHANGE_INTERVAL ||
+ DCHECK(polling_interval_ == NO_CHANGE_INTERVAL ||
polling_interval_ == TWO_NO_CHANGE_INTERVAL);
polling_interval_ = TWO_NO_CHANGE_INTERVAL;
}
« no previous file with comments | « chrome/browser/geolocation/network_location_request.cc ('k') | chrome/browser/geolocation/wifi_data_provider_common_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698