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

Side by Side Diff: mojo/services/view_manager/view_manager_init_service_impl.h

Issue 667223002: Mojo: More virtual/override style fixes in mojo/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 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 #ifndef MOJO_SERVICES_VIEW_MANAGER_VIEW_MANAGER_INIT_SERVICE_IMPL_H_ 5 #ifndef MOJO_SERVICES_VIEW_MANAGER_VIEW_MANAGER_INIT_SERVICE_IMPL_H_
6 #define MOJO_SERVICES_VIEW_MANAGER_VIEW_MANAGER_INIT_SERVICE_IMPL_H_ 6 #define MOJO_SERVICES_VIEW_MANAGER_VIEW_MANAGER_INIT_SERVICE_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 16 matching lines...) Expand all
27 #pragma warning(disable : 4275) 27 #pragma warning(disable : 4275)
28 #endif 28 #endif
29 29
30 // Used to create the initial ViewManagerClient. Doesn't initiate the Connect() 30 // Used to create the initial ViewManagerClient. Doesn't initiate the Connect()
31 // until the WindowTreeHost has been created. 31 // until the WindowTreeHost has been created.
32 class MOJO_VIEW_MANAGER_EXPORT ViewManagerInitServiceImpl 32 class MOJO_VIEW_MANAGER_EXPORT ViewManagerInitServiceImpl
33 : public InterfaceImpl<ViewManagerInitService> { 33 : public InterfaceImpl<ViewManagerInitService> {
34 public: 34 public:
35 ViewManagerInitServiceImpl(ApplicationConnection* connection, 35 ViewManagerInitServiceImpl(ApplicationConnection* connection,
36 ViewManagerInitServiceContext* context); 36 ViewManagerInitServiceContext* context);
37 virtual ~ViewManagerInitServiceImpl(); 37 ~ViewManagerInitServiceImpl() override;
38 38
39 private: 39 private:
40 // ViewManagerInitService overrides: 40 // ViewManagerInitService overrides:
41 virtual void Embed(const String& url, 41 void Embed(const String& url,
42 ServiceProviderPtr service_provider, 42 ServiceProviderPtr service_provider,
43 const Callback<void(bool)>& callback) override; 43 const Callback<void(bool)>& callback) override;
44 44
45 ViewManagerInitServiceContext* context_; 45 ViewManagerInitServiceContext* context_;
46 46
47 DISALLOW_COPY_AND_ASSIGN(ViewManagerInitServiceImpl); 47 DISALLOW_COPY_AND_ASSIGN(ViewManagerInitServiceImpl);
48 }; 48 };
49 49
50 #if defined(OS_WIN) 50 #if defined(OS_WIN)
51 #pragma warning(pop) 51 #pragma warning(pop)
52 #endif 52 #endif
53 53
54 } // namespace service 54 } // namespace service
55 } // namespace mojo 55 } // namespace mojo
56 56
57 #endif // MOJO_SERVICES_VIEW_MANAGER_VIEW_MANAGER_INIT_SERVICE_IMPL_H_ 57 #endif // MOJO_SERVICES_VIEW_MANAGER_VIEW_MANAGER_INIT_SERVICE_IMPL_H_
OLDNEW
« no previous file with comments | « mojo/services/view_manager/main.cc ('k') | mojo/services/view_manager/view_manager_service_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698