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 #include "base/bind.h" | 5 #include "base/bind.h" |
6 #include "base/callback_helpers.h" | 6 #include "base/callback_helpers.h" |
7 #include "base/location.h" | 7 #include "base/location.h" |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
10 #include "base/single_thread_task_runner.h" | 10 #include "base/single_thread_task_runner.h" |
11 #include "base/thread_task_runner_handle.h" | 11 #include "base/threading/thread_task_runner_handle.h" |
12 #include "remoting/base/string_resources.h" | 12 #include "remoting/base/string_resources.h" |
13 #include "remoting/host/chromeos/message_box.h" | 13 #include "remoting/host/chromeos/message_box.h" |
14 #include "remoting/host/it2me/it2me_confirmation_dialog.h" | 14 #include "remoting/host/it2me/it2me_confirmation_dialog.h" |
15 #include "ui/base/l10n/l10n_util.h" | 15 #include "ui/base/l10n/l10n_util.h" |
16 | 16 |
17 namespace remoting { | 17 namespace remoting { |
18 | 18 |
19 class It2MeConfirmationDialogChromeOS : public It2MeConfirmationDialog { | 19 class It2MeConfirmationDialogChromeOS : public It2MeConfirmationDialog { |
20 public: | 20 public: |
21 It2MeConfirmationDialogChromeOS(); | 21 It2MeConfirmationDialogChromeOS(); |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 Result::OK : Result::CANCEL); | 59 Result::OK : Result::CANCEL); |
60 } | 60 } |
61 | 61 |
62 std::unique_ptr<It2MeConfirmationDialog> | 62 std::unique_ptr<It2MeConfirmationDialog> |
63 It2MeConfirmationDialogFactory::Create() { | 63 It2MeConfirmationDialogFactory::Create() { |
64 return std::unique_ptr<It2MeConfirmationDialog>( | 64 return std::unique_ptr<It2MeConfirmationDialog>( |
65 new It2MeConfirmationDialogChromeOS()); | 65 new It2MeConfirmationDialogChromeOS()); |
66 } | 66 } |
67 | 67 |
68 } // namespace remoting | 68 } // namespace remoting |
OLD | NEW |