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

Unified Diff: blimp/engine/feature/geolocation/engine_geolocation_feature.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/engine_geolocation_feature.h
diff --git a/blimp/engine/feature/geolocation/engine_geolocation_feature.h b/blimp/engine/feature/geolocation/engine_geolocation_feature.h
deleted file mode 100644
index 4219db03ebd54581a03516b8a9dca50b4ac97bec..0000000000000000000000000000000000000000
--- a/blimp/engine/feature/geolocation/engine_geolocation_feature.h
+++ /dev/null
@@ -1,58 +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_ENGINE_GEOLOCATION_FEATURE_H_
-#define BLIMP_ENGINE_FEATURE_GEOLOCATION_ENGINE_GEOLOCATION_FEATURE_H_
-
-#include <memory>
-
-#include "base/memory/weak_ptr.h"
-#include "blimp/engine/feature/geolocation/blimp_location_provider.h"
-#include "blimp/net/blimp_message_processor.h"
-
-namespace device {
-class GeolocationDelegate;
-struct Geoposition;
-}
-
-namespace blimp {
-namespace engine {
-
-// Handles all incoming and outgoing protobuf messages types tied to
-// geolocation.
-class EngineGeolocationFeature : public BlimpMessageProcessor,
- public BlimpLocationProvider::Delegate {
- public:
- EngineGeolocationFeature();
- ~EngineGeolocationFeature() override;
-
- void set_outgoing_message_processor(
- std::unique_ptr<BlimpMessageProcessor> message_processor);
-
- device::GeolocationDelegate* CreateGeolocationDelegate();
-
- // BlimpMessageProcessor implementation.
- void ProcessMessage(std::unique_ptr<BlimpMessage> message,
- const net::CompletionCallback& callback) override;
-
- private:
- void NotifyCallback(const device::Geoposition& position);
-
- // BlimpLocationProvider::Delegate implementation.
- void RequestAccuracy(
- GeolocationSetInterestLevelMessage::Level level) override;
- void OnPermissionGranted() override;
- void SetUpdateCallback(const GeopositionReceivedCallback& callback) override;
-
- std::unique_ptr<BlimpMessageProcessor> outgoing_message_processor_;
- GeopositionReceivedCallback geoposition_received_callback_;
- base::WeakPtrFactory<EngineGeolocationFeature> weak_factory_;
-
- DISALLOW_COPY_AND_ASSIGN(EngineGeolocationFeature);
-};
-
-} // namespace engine
-} // namespace blimp
-
-#endif // BLIMP_ENGINE_FEATURE_GEOLOCATION_ENGINE_GEOLOCATION_FEATURE_H_

Powered by Google App Engine
This is Rietveld 408576698