Index: services/kiosk_wm/navigator_host_impl.h |
diff --git a/sky/tools/debugger/navigator_host_impl.h b/services/kiosk_wm/navigator_host_impl.h |
similarity index 51% |
rename from sky/tools/debugger/navigator_host_impl.h |
rename to services/kiosk_wm/navigator_host_impl.h |
index 89d4b6c926d269af96afcace744911462200f44b..73f950c3fa7fa1effe28bff2253fd048058f5891 100644 |
--- a/sky/tools/debugger/navigator_host_impl.h |
+++ b/services/kiosk_wm/navigator_host_impl.h |
@@ -2,36 +2,38 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef SKY_TOOLS_DEBUGGER_NAVIGATOR_HOST_IMPL_H_ |
-#define SKY_TOOLS_DEBUGGER_NAVIGATOR_HOST_IMPL_H_ |
+#ifndef SERVICES_KIOSK_WM_NAVIGATOR_HOST_IMPL_H_ |
+#define SERVICES_KIOSK_WM_NAVIGATOR_HOST_IMPL_H_ |
#include "base/memory/weak_ptr.h" |
#include "mojo/public/cpp/application/interface_factory_impl.h" |
#include "mojo/services/navigation/public/interfaces/navigation.mojom.h" |
#include "sky/tools/debugger/debugger.mojom.h" |
jamesr
2015/01/29 20:35:36
this introduced the following interesting build fl
|
-namespace sky { |
-namespace debugger { |
-class SkyDebugger; |
+namespace mojo { |
+namespace kiosk_wm { |
+class KioskWM; |
class NavigatorHostImpl : public mojo::InterfaceImpl<mojo::NavigatorHost> { |
public: |
- explicit NavigatorHostImpl(SkyDebugger*); |
+ explicit NavigatorHostImpl(KioskWM*); |
~NavigatorHostImpl(); |
private: |
void DidNavigateLocally(const mojo::String& url) override; |
- void RequestNavigate(mojo::Target target, mojo::URLRequestPtr request) override; |
+ void RequestNavigate(mojo::Target target, |
+ mojo::URLRequestPtr request) override; |
- base::WeakPtr<SkyDebugger> debugger_; |
+ base::WeakPtr<KioskWM> kiosk_wm_; |
DISALLOW_COPY_AND_ASSIGN(NavigatorHostImpl); |
}; |
-typedef mojo::InterfaceFactoryImplWithContext< |
- NavigatorHostImpl, SkyDebugger> NavigatorHostFactory; |
+typedef mojo::InterfaceFactoryImplWithContext<NavigatorHostImpl, |
+ KioskWM> |
+ NavigatorHostFactory; |
-} // namespace debugger |
-} // namespace sky |
+} // namespace kiosk_wm |
+} // namespace mojo |
-#endif // SKY_TOOLS_DEBUGGER_NAVIGATOR_HOST_IMPL_H_ |
+#endif // SERVICES_KIOSK_WM_NAVIGATOR_HOST_IMPL_H_ |