OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_FLOG_CPP_FLOG_H_ | 5 #ifndef MOJO_SERVICES_FLOG_CPP_FLOG_H_ |
6 #define MOJO_SERVICES_FLOG_CPP_FLOG_H_ | 6 #define MOJO_SERVICES_FLOG_CPP_FLOG_H_ |
7 | 7 |
8 #include <atomic> | 8 #include <atomic> |
9 #include <memory> | 9 #include <memory> |
10 | 10 |
11 #include "mojo/public/cpp/application/application_impl.h" | |
12 #include "mojo/public/cpp/application/connect.h" | 11 #include "mojo/public/cpp/application/connect.h" |
13 #include "mojo/public/cpp/bindings/array.h" | 12 #include "mojo/public/cpp/bindings/array.h" |
14 #include "mojo/public/cpp/bindings/message.h" | 13 #include "mojo/public/cpp/bindings/message.h" |
15 #include "mojo/public/cpp/environment/logging.h" | 14 #include "mojo/public/cpp/environment/logging.h" |
16 #include "mojo/public/cpp/system/time.h" | 15 #include "mojo/public/cpp/system/time.h" |
17 #include "mojo/services/flog/interfaces/flog.mojom.h" | 16 #include "mojo/services/flog/interfaces/flog.mojom.h" |
18 | 17 |
19 namespace mojo { | 18 namespace mojo { |
20 namespace flog { | 19 namespace flog { |
21 | 20 |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 } | 187 } |
189 | 188 |
190 private: | 189 private: |
191 explicit FlogProxy() : T::Proxy_(new FlogChannel(T::Name_)) {} | 190 explicit FlogProxy() : T::Proxy_(new FlogChannel(T::Name_)) {} |
192 }; | 191 }; |
193 | 192 |
194 } // namespace flog | 193 } // namespace flog |
195 } // namespace mojo | 194 } // namespace mojo |
196 | 195 |
197 #endif // MOJO_SERVICES_FLOG_CPP_FLOG_H_ | 196 #endif // MOJO_SERVICES_FLOG_CPP_FLOG_H_ |
OLD | NEW |