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

Side by Side Diff: chrome/utility/image_writer/image_writer_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 <stdint.h> 5 #include <stdint.h>
6 #include <string.h> 6 #include <string.h>
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/files/file_util.h" 10 #include "base/files/file_util.h"
11 #include "base/files/scoped_temp_dir.h" 11 #include "base/files/scoped_temp_dir.h"
12 #include "base/message_loop/message_loop.h"
12 #include "base/run_loop.h" 13 #include "base/run_loop.h"
13 #include "chrome/utility/image_writer/error_messages.h" 14 #include "chrome/utility/image_writer/error_messages.h"
14 #include "chrome/utility/image_writer/image_writer.h" 15 #include "chrome/utility/image_writer/image_writer.h"
15 #include "chrome/utility/image_writer/image_writer_handler.h" 16 #include "chrome/utility/image_writer/image_writer_handler.h"
16 #include "testing/gmock/include/gmock/gmock.h" 17 #include "testing/gmock/include/gmock/gmock.h"
17 #include "testing/gtest/include/gtest/gtest.h" 18 #include "testing/gtest/include/gtest/gtest.h"
18 19
19 namespace image_writer { 20 namespace image_writer {
20 21
21 using testing::_; 22 using testing::_;
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 EXPECT_CALL(mock_handler, SendFailed(_)).Times(0); 226 EXPECT_CALL(mock_handler, SendFailed(_)).Times(0);
226 227
227 FillDefault(image_path_); 228 FillDefault(image_path_);
228 229
229 image_writer.Write(); 230 image_writer.Write();
230 231
231 base::RunLoop().RunUntilIdle(); 232 base::RunLoop().RunUntilIdle();
232 } 233 }
233 234
234 } // namespace image_writer 235 } // namespace image_writer
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698