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

Side by Side Diff: mojo/public/cpp/application/application_impl.h

Issue 617503003: Mojo: MOJO_OVERRIDE -> override in mojo/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased 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_PUBLIC_APPLICATION_APPLICATION_IMPL_H_ 5 #ifndef MOJO_PUBLIC_APPLICATION_APPLICATION_IMPL_H_
6 #define MOJO_PUBLIC_APPLICATION_APPLICATION_IMPL_H_ 6 #define MOJO_PUBLIC_APPLICATION_APPLICATION_IMPL_H_
7 #include <vector> 7 #include <vector>
8 8
9 #include "mojo/public/cpp/application/application_connection.h" 9 #include "mojo/public/cpp/application/application_connection.h"
10 #include "mojo/public/cpp/application/lib/service_connector.h" 10 #include "mojo/public/cpp/application/lib/service_connector.h"
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 void ClearConnections(); 81 void ClearConnections();
82 void OnShellError() { 82 void OnShellError() {
83 ClearConnections(); 83 ClearConnections();
84 Terminate(); 84 Terminate();
85 }; 85 };
86 86
87 // Quits the main run loop for this application. 87 // Quits the main run loop for this application.
88 static void Terminate(); 88 static void Terminate();
89 89
90 // Application implementation. 90 // Application implementation.
91 virtual void Initialize(Array<String> args) MOJO_OVERRIDE; 91 virtual void Initialize(Array<String> args) override;
92 virtual void AcceptConnection(const String& requestor_url, 92 virtual void AcceptConnection(const String& requestor_url,
93 ServiceProviderPtr provider) MOJO_OVERRIDE; 93 ServiceProviderPtr provider) override;
94 94
95 typedef std::vector<internal::ServiceRegistry*> ServiceRegistryList; 95 typedef std::vector<internal::ServiceRegistry*> ServiceRegistryList;
96 96
97 bool initialized_; 97 bool initialized_;
98 ServiceRegistryList incoming_service_registries_; 98 ServiceRegistryList incoming_service_registries_;
99 ServiceRegistryList outgoing_service_registries_; 99 ServiceRegistryList outgoing_service_registries_;
100 ApplicationDelegate* delegate_; 100 ApplicationDelegate* delegate_;
101 ShellPtr shell_; 101 ShellPtr shell_;
102 ShellPtrWatcher* shell_watch_; 102 ShellPtrWatcher* shell_watch_;
103 Array<String> args_; 103 Array<String> args_;
104 104
105 MOJO_DISALLOW_COPY_AND_ASSIGN(ApplicationImpl); 105 MOJO_DISALLOW_COPY_AND_ASSIGN(ApplicationImpl);
106 }; 106 };
107 107
108 } // namespace mojo 108 } // namespace mojo
109 109
110 #endif // MOJO_PUBLIC_APPLICATION_APPLICATION_IMPL_H_ 110 #endif // MOJO_PUBLIC_APPLICATION_APPLICATION_IMPL_H_
OLDNEW
« no previous file with comments | « mojo/public/c/system/tests/core_perftest.cc ('k') | mojo/public/cpp/application/interface_factory_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698