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

Side by Side Diff: mojo/services/files/cpp/tests/output_stream_file_unittest.cc

Issue 1388413005: Move //mojo/services/X/public/... to //mojo/services/X/... (part 1). (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 2 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "files/public/cpp/output_stream_file.h" 5 #include "files/cpp/output_stream_file.h"
6 6
7 #include <string.h> 7 #include <string.h>
8 8
9 #include <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
11 11
12 #include "files/public/interfaces/files.mojom.h" 12 #include "files/interfaces/files.mojom.h"
13 #include "files/public/interfaces/types.mojom.h" 13 #include "files/interfaces/types.mojom.h"
14 #include "mojo/public/cpp/application/application_test_base.h" 14 #include "mojo/public/cpp/application/application_test_base.h"
15 #include "mojo/public/cpp/bindings/interface_request.h" 15 #include "mojo/public/cpp/bindings/interface_request.h"
16 #include "mojo/public/cpp/system/macros.h" 16 #include "mojo/public/cpp/system/macros.h"
17 #include "mojo/public/cpp/utility/run_loop.h" 17 #include "mojo/public/cpp/utility/run_loop.h"
18 18
19 namespace files_impl { 19 namespace files_impl {
20 namespace { 20 namespace {
21 21
22 using OutputStreamFileTest = mojo::test::ApplicationTestBase; 22 using OutputStreamFileTest = mojo::test::ApplicationTestBase;
23 23
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 }); 278 });
279 TestClose(file.get(), nullptr); 279 TestClose(file.get(), nullptr);
280 if (!got_connection_error) 280 if (!got_connection_error)
281 RunMessageLoop(); 281 RunMessageLoop();
282 EXPECT_TRUE(got_connection_error); 282 EXPECT_TRUE(got_connection_error);
283 } 283 }
284 } 284 }
285 285
286 } // namespace 286 } // namespace
287 } // namespace files_impl 287 } // namespace files_impl
OLDNEW
« no previous file with comments | « mojo/services/files/cpp/tests/input_stream_file_unittest.cc ('k') | mojo/services/files/interfaces/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698