Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(125)

Side by Side Diff: remoting/host/it2me/it2me_confirmation_dialog_proxy_unittest.cc

Issue 2876013002: Add missing IWYU message_loop.h includes. (Closed)
Patch Set: fix upstream Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 "remoting/host/it2me/it2me_confirmation_dialog_proxy.h" 5 #include "remoting/host/it2me/it2me_confirmation_dialog_proxy.h"
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/memory/ptr_util.h" 10 #include "base/memory/ptr_util.h"
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 #include "base/message_loop/message_loop.h"
12 #include "base/run_loop.h" 13 #include "base/run_loop.h"
13 #include "base/single_thread_task_runner.h" 14 #include "base/single_thread_task_runner.h"
14 #include "base/threading/thread.h" 15 #include "base/threading/thread.h"
15 #include "testing/gmock/include/gmock/gmock.h" 16 #include "testing/gmock/include/gmock/gmock.h"
16 #include "testing/gmock_mutant.h" 17 #include "testing/gmock_mutant.h"
17 #include "testing/gtest/include/gtest/gtest.h" 18 #include "testing/gtest/include/gtest/gtest.h"
18 19
19 using ::testing::InvokeWithoutArgs; 20 using ::testing::InvokeWithoutArgs;
20 using ::testing::CreateFunctor; 21 using ::testing::CreateFunctor;
21 22
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 OnDialogResult(It2MeConfirmationDialog::Result::CANCEL)) 149 OnDialogResult(It2MeConfirmationDialog::Result::CANCEL))
149 .WillOnce( 150 .WillOnce(
150 InvokeWithoutArgs(this, &It2MeConfirmationDialogProxyTest::Quit)); 151 InvokeWithoutArgs(this, &It2MeConfirmationDialogProxyTest::Quit));
151 152
152 dialog_proxy()->Show(kTestEmailAddress, callback_target.MakeCallback()); 153 dialog_proxy()->Show(kTestEmailAddress, callback_target.MakeCallback());
153 154
154 Run(); 155 Run();
155 } 156 }
156 157
157 } // namespace remoting 158 } // namespace remoting
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698