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

Side by Side Diff: sky/tools/debugger/debugger.h

Issue 695183003: Bring skydebugger closer to clean-shutdown (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Fix build and remove outdated comment Created 6 years, 1 month 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/memory/weak_ptr.h" 5 #include "base/memory/weak_ptr.h"
6 #include "mojo/public/cpp/application/application_delegate.h" 6 #include "mojo/public/cpp/application/application_delegate.h"
7 #include "mojo/public/cpp/application/application_impl.h" 7 #include "mojo/public/cpp/application/application_impl.h"
8 #include "mojo/public/cpp/application/connect.h" 8 #include "mojo/public/cpp/application/connect.h"
9 #include "mojo/public/cpp/application/service_provider_impl.h" 9 #include "mojo/public/cpp/application/service_provider_impl.h"
10 #include "mojo/services/public/cpp/view_manager/view_manager.h" 10 #include "mojo/services/public/cpp/view_manager/view_manager.h"
(...skipping 18 matching lines...) Expand all
29 public mojo::InterfaceImpl<Debugger> { 29 public mojo::InterfaceImpl<Debugger> {
30 public: 30 public:
31 SkyDebugger(); 31 SkyDebugger();
32 virtual ~SkyDebugger(); 32 virtual ~SkyDebugger();
33 33
34 base::WeakPtr<SkyDebugger> GetWeakPtr(); 34 base::WeakPtr<SkyDebugger> GetWeakPtr();
35 35
36 // Overridden from Debugger 36 // Overridden from Debugger
37 void NavigateToURL(const mojo::String& url) override; 37 void NavigateToURL(const mojo::String& url) override;
38 void InjectInspector() override; 38 void InjectInspector() override;
39 void Shutdown() override;
39 40
40 private: 41 private:
41 // Overridden from mojo::ApplicationDelegate: 42 // Overridden from mojo::ApplicationDelegate:
42 void Initialize(mojo::ApplicationImpl* app) override; 43 void Initialize(mojo::ApplicationImpl* app) override;
43 bool ConfigureIncomingConnection( 44 bool ConfigureIncomingConnection(
44 mojo::ApplicationConnection* connection) override; 45 mojo::ApplicationConnection* connection) override;
45 bool ConfigureOutgoingConnection( 46 bool ConfigureOutgoingConnection(
46 mojo::ApplicationConnection* connection) override; 47 mojo::ApplicationConnection* connection) override;
47 48
48 // Overridden from mojo::ViewManagerDelegate: 49 // Overridden from mojo::ViewManagerDelegate:
(...skipping 22 matching lines...) Expand all
71 72
72 NavigatorHostFactory navigator_host_factory_; 73 NavigatorHostFactory navigator_host_factory_;
73 74
74 base::WeakPtrFactory<SkyDebugger> weak_factory_; 75 base::WeakPtrFactory<SkyDebugger> weak_factory_;
75 76
76 DISALLOW_COPY_AND_ASSIGN(SkyDebugger); 77 DISALLOW_COPY_AND_ASSIGN(SkyDebugger);
77 }; 78 };
78 79
79 } // namespace debugger 80 } // namespace debugger
80 } // namespace sky 81 } // namespace sky
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698