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

Unified Diff: blimp/engine/feature/geolocation/mock_blimp_location_provider_delegate.h

Issue 2629743003: Remove all blimp engine code (Closed)
Patch Set: Use consistent comment style in //chrome Created 3 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: blimp/engine/feature/geolocation/mock_blimp_location_provider_delegate.h
diff --git a/blimp/engine/feature/geolocation/mock_blimp_location_provider_delegate.h b/blimp/engine/feature/geolocation/mock_blimp_location_provider_delegate.h
deleted file mode 100644
index 7308979a112875d7850dda400d7f2fb52a81ffde..0000000000000000000000000000000000000000
--- a/blimp/engine/feature/geolocation/mock_blimp_location_provider_delegate.h
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef BLIMP_ENGINE_FEATURE_GEOLOCATION_MOCK_BLIMP_LOCATION_PROVIDER_DELEGATE_H_
-#define BLIMP_ENGINE_FEATURE_GEOLOCATION_MOCK_BLIMP_LOCATION_PROVIDER_DELEGATE_H_
-
-#include "blimp/engine/feature/geolocation/blimp_location_provider.h"
-#include "testing/gmock/include/gmock/gmock.h"
-
-namespace blimp {
-namespace engine {
-
-class MockBlimpLocationProviderDelegate
- : public BlimpLocationProvider::Delegate {
- public:
- MockBlimpLocationProviderDelegate();
- ~MockBlimpLocationProviderDelegate();
-
- base::WeakPtr<MockBlimpLocationProviderDelegate> GetWeakPtr() {
- return weak_factory_.GetWeakPtr();
- }
-
- MOCK_METHOD1(RequestAccuracy,
- void(GeolocationSetInterestLevelMessage::Level level));
- MOCK_METHOD0(OnPermissionGranted, void());
- MOCK_METHOD1(SetUpdateCallback,
- void(const GeopositionReceivedCallback& callback));
-
- private:
- base::WeakPtrFactory<MockBlimpLocationProviderDelegate> weak_factory_;
-
- DISALLOW_COPY_AND_ASSIGN(MockBlimpLocationProviderDelegate);
-};
-
-} // namespace engine
-} // namespace blimp
-
-#endif // BLIMP_ENGINE_FEATURE_GEOLOCATION_MOCK_BLIMP_LOCATION_PROVIDER_DELEGATE_H_

Powered by Google App Engine
This is Rietveld 408576698