| OLD | NEW |
| 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_DELEGATE_H_ | 5 #ifndef MOJO_APPLICATION_PUBLIC_CPP_APPLICATION_DELEGATE_H_ |
| 6 #define MOJO_PUBLIC_APPLICATION_APPLICATION_DELEGATE_H_ | 6 #define MOJO_APPLICATION_PUBLIC_CPP_APPLICATION_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "mojo/public/cpp/system/macros.h" | 10 #include "mojo/public/cpp/system/macros.h" |
| 11 | 11 |
| 12 namespace mojo { | 12 namespace mojo { |
| 13 | 13 |
| 14 class ApplicationConnection; | 14 class ApplicationConnection; |
| 15 class ApplicationImpl; | 15 class ApplicationImpl; |
| 16 | 16 |
| (...skipping 20 matching lines...) Expand all Loading... |
| 37 // Called before ApplicationImpl::Terminate(). After returning from this call | 37 // Called before ApplicationImpl::Terminate(). After returning from this call |
| 38 // the delegate can no longer rely on the main run loop still running. | 38 // the delegate can no longer rely on the main run loop still running. |
| 39 virtual void Quit(); | 39 virtual void Quit(); |
| 40 | 40 |
| 41 private: | 41 private: |
| 42 MOJO_DISALLOW_COPY_AND_ASSIGN(ApplicationDelegate); | 42 MOJO_DISALLOW_COPY_AND_ASSIGN(ApplicationDelegate); |
| 43 }; | 43 }; |
| 44 | 44 |
| 45 } // namespace mojo | 45 } // namespace mojo |
| 46 | 46 |
| 47 #endif // MOJO_PUBLIC_APPLICATION_APPLICATION_DELEGATE_H_ | 47 #endif // MOJO_APPLICATION_PUBLIC_CPP_APPLICATION_DELEGATE_H_ |
| OLD | NEW |