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

Side by Side Diff: components/storage_monitor/image_capture_device_manager_unittest.mm

Issue 546733002: Change base/file_utils.h includes to base/files/file_utils.h in chrome_elf/ and components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 #import <Foundation/Foundation.h> 5 #import <Foundation/Foundation.h>
6 #import <ImageCaptureCore/ImageCaptureCore.h> 6 #import <ImageCaptureCore/ImageCaptureCore.h>
7 7
8 #include "base/file_util.h"
9 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/files/file_util.h"
10 #include "base/files/scoped_temp_dir.h" 10 #include "base/files/scoped_temp_dir.h"
11 #include "base/mac/foundation_util.h" 11 #include "base/mac/foundation_util.h"
12 #include "base/mac/sdk_forward_declarations.h" 12 #include "base/mac/sdk_forward_declarations.h"
13 #include "base/memory/weak_ptr.h" 13 #include "base/memory/weak_ptr.h"
14 #include "base/run_loop.h" 14 #include "base/run_loop.h"
15 #include "components/storage_monitor/image_capture_device.h" 15 #include "components/storage_monitor/image_capture_device.h"
16 #include "components/storage_monitor/image_capture_device_manager.h" 16 #include "components/storage_monitor/image_capture_device_manager.h"
17 #include "components/storage_monitor/test_storage_monitor.h" 17 #include "components/storage_monitor/test_storage_monitor.h"
18 #include "content/public/browser/browser_thread.h" 18 #include "content/public/browser/browser_thread.h"
19 #include "content/public/test/test_browser_thread_bundle.h" 19 #include "content/public/test/test_browser_thread_bundle.h"
(...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after
417 char file_contents[5]; 417 char file_contents[5];
418 ASSERT_EQ(4, base::ReadFile(temp_file, file_contents, 418 ASSERT_EQ(4, base::ReadFile(temp_file, file_contents,
419 strlen(kTestFileContents))); 419 strlen(kTestFileContents)));
420 EXPECT_EQ(kTestFileContents, 420 EXPECT_EQ(kTestFileContents,
421 std::string(file_contents, strlen(kTestFileContents))); 421 std::string(file_contents, strlen(kTestFileContents)));
422 422
423 [camera didRemoveDevice:device]; 423 [camera didRemoveDevice:device];
424 } 424 }
425 425
426 } // namespace storage_monitor 426 } // namespace storage_monitor
OLDNEW
« no previous file with comments | « components/storage_monitor/image_capture_device.mm ('k') | components/storage_monitor/media_storage_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698