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 REMOTING_HOST_IT2ME_IT2ME_CONFIRMATION_DIALOG_H_ | 5 #ifndef REMOTING_HOST_IT2ME_IT2ME_CONFIRMATION_DIALOG_H_ |
6 #define REMOTING_HOST_IT2ME_IT2ME_CONFIRMATION_DIALOG_H_ | 6 #define REMOTING_HOST_IT2ME_IT2ME_CONFIRMATION_DIALOG_H_ |
7 | 7 |
8 #include "base/basictypes.h" | |
9 #include "base/callback_forward.h" | 8 #include "base/callback_forward.h" |
| 9 #include "base/macros.h" |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "base/single_thread_task_runner.h" | 12 #include "base/single_thread_task_runner.h" |
13 | 13 |
14 namespace remoting { | 14 namespace remoting { |
15 | 15 |
16 // Interface for a dialog to confirm an It2Me session with the user. | 16 // Interface for a dialog to confirm an It2Me session with the user. |
17 // All methods, with the exception of the constructor, are guaranteed to be | 17 // All methods, with the exception of the constructor, are guaranteed to be |
18 // called on the UI thread. | 18 // called on the UI thread. |
19 class It2MeConfirmationDialog { | 19 class It2MeConfirmationDialog { |
(...skipping 19 matching lines...) Expand all Loading... |
39 virtual ~It2MeConfirmationDialogFactory(); | 39 virtual ~It2MeConfirmationDialogFactory(); |
40 | 40 |
41 virtual scoped_ptr<It2MeConfirmationDialog> Create(); | 41 virtual scoped_ptr<It2MeConfirmationDialog> Create(); |
42 | 42 |
43 DISALLOW_COPY_AND_ASSIGN(It2MeConfirmationDialogFactory); | 43 DISALLOW_COPY_AND_ASSIGN(It2MeConfirmationDialogFactory); |
44 }; | 44 }; |
45 | 45 |
46 } // namespace remoting | 46 } // namespace remoting |
47 | 47 |
48 #endif // REMOTING_HOST_IT2ME_IT2ME_CONFIRMATION_DIALOG_H_ | 48 #endif // REMOTING_HOST_IT2ME_IT2ME_CONFIRMATION_DIALOG_H_ |
OLD | NEW |