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

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

Issue 6341013: Put geolocation unit and browser test code in anonymous namespaces to avoid (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Source files need to end in a newline. Created 9 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/win7_location_api_unittest_win.cc
diff --git a/chrome/browser/geolocation/win7_location_api_unittest_win.cc b/chrome/browser/geolocation/win7_location_api_unittest_win.cc
index cfc35c378c63ba52c31312a6fb5260284d8d34ca..66470cf029f8a50e84b3c6b209233aa35c5736c3 100644
--- a/chrome/browser/geolocation/win7_location_api_unittest_win.cc
+++ b/chrome/browser/geolocation/win7_location_api_unittest_win.cc
@@ -23,6 +23,8 @@ using testing::DoDefault;
using testing::Invoke;
using testing::Return;
+namespace {
+
class MockLatLongReport : public ILatLongReport {
public:
MockLatLongReport() : ref_count_(1) {
@@ -331,3 +333,5 @@ TEST_F(GeolocationApiWin7Tests, GetInvalidPosition) {
api_->GetPosition(&position);
EXPECT_FALSE(position.IsValidFix());
}
+
+} // namespace

Powered by Google App Engine
This is Rietveld 408576698