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

Side by Side Diff: chrome/browser/chromeos/file_system_provider/fileapi/file_stream_reader_unittest.cc

Issue 326383005: Remove base/platform_file.* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « base/platform_file_win.cc ('k') | chrome/browser/component_updater/cld_component_installer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <string> 5 #include <string>
6 #include <vector> 6 #include <vector>
7 7
8 #include "base/files/file.h" 8 #include "base/files/file.h"
9 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "base/files/scoped_temp_dir.h" 10 #include "base/files/scoped_temp_dir.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "base/memory/weak_ptr.h" 12 #include "base/memory/weak_ptr.h"
13 #include "base/platform_file.h"
14 #include "base/run_loop.h" 13 #include "base/run_loop.h"
15 #include "chrome/browser/chromeos/file_system_provider/fake_provided_file_system .h" 14 #include "chrome/browser/chromeos/file_system_provider/fake_provided_file_system .h"
16 #include "chrome/browser/chromeos/file_system_provider/fileapi/file_stream_reade r.h" 15 #include "chrome/browser/chromeos/file_system_provider/fileapi/file_stream_reade r.h"
17 #include "chrome/browser/chromeos/file_system_provider/service.h" 16 #include "chrome/browser/chromeos/file_system_provider/service.h"
18 #include "chrome/browser/chromeos/file_system_provider/service_factory.h" 17 #include "chrome/browser/chromeos/file_system_provider/service_factory.h"
19 #include "chrome/test/base/testing_browser_process.h" 18 #include "chrome/test/base/testing_browser_process.h"
20 #include "chrome/test/base/testing_profile.h" 19 #include "chrome/test/base/testing_profile.h"
21 #include "chrome/test/base/testing_profile_manager.h" 20 #include "chrome/test/base/testing_profile_manager.h"
22 #include "content/public/test/test_browser_thread_bundle.h" 21 #include "content/public/test/test_browser_thread_bundle.h"
23 #include "content/public/test/test_file_system_context.h" 22 #include "content/public/test/test_file_system_context.h"
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 base::Bind(&EventLogger::OnGetLength, logger.GetWeakPtr())); 285 base::Bind(&EventLogger::OnGetLength, logger.GetWeakPtr()));
287 EXPECT_EQ(net::ERR_IO_PENDING, result); 286 EXPECT_EQ(net::ERR_IO_PENDING, result);
288 base::RunLoop().RunUntilIdle(); 287 base::RunLoop().RunUntilIdle();
289 288
290 ASSERT_EQ(1u, logger.results().size()); 289 ASSERT_EQ(1u, logger.results().size());
291 EXPECT_EQ(net::ERR_FILE_NOT_FOUND, logger.results()[0]); 290 EXPECT_EQ(net::ERR_FILE_NOT_FOUND, logger.results()[0]);
292 } 291 }
293 292
294 } // namespace file_system_provider 293 } // namespace file_system_provider
295 } // namespace chromeos 294 } // namespace chromeos
OLDNEW
« no previous file with comments | « base/platform_file_win.cc ('k') | chrome/browser/component_updater/cld_component_installer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698