| 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_SHELL_PUBLIC_CPP_MESSAGE_LOOP_REF_H_ | 5 #ifndef SERVICES_SHELL_PUBLIC_CPP_MESSAGE_LOOP_REF_H_ |
| 6 #define MOJO_SHELL_PUBLIC_CPP_MESSAGE_LOOP_REF_H_ | 6 #define SERVICES_SHELL_PUBLIC_CPP_MESSAGE_LOOP_REF_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "base/message_loop/message_loop.h" | 10 #include "base/message_loop/message_loop.h" |
| 11 #include "mojo/public/cpp/system/core.h" | 11 #include "mojo/public/cpp/system/core.h" |
| 12 | 12 |
| 13 namespace mojo { | 13 namespace mojo { |
| 14 | 14 |
| 15 class MessageLoopRefImpl; | 15 class MessageLoopRefImpl; |
| 16 | 16 |
| (...skipping 30 matching lines...) Expand all Loading... |
| 47 void Release(); | 47 void Release(); |
| 48 | 48 |
| 49 base::Closure quit_closure_; | 49 base::Closure quit_closure_; |
| 50 int ref_count_ = 0; | 50 int ref_count_ = 0; |
| 51 | 51 |
| 52 DISALLOW_COPY_AND_ASSIGN(MessageLoopRefFactory); | 52 DISALLOW_COPY_AND_ASSIGN(MessageLoopRefFactory); |
| 53 }; | 53 }; |
| 54 | 54 |
| 55 } // namespace mojo | 55 } // namespace mojo |
| 56 | 56 |
| 57 #endif // MOJO_SHELL_PUBLIC_CPP_MESSAGE_LOOP_REF_H_ | 57 #endif // SERVICES_SHELL_PUBLIC_CPP_MESSAGE_LOOP_REF_H_ |
| OLD | NEW |