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

Side by Side Diff: chrome/browser/chromeos/extensions/file_browser_private_apitest.cc

Issue 10874067: chromeos: Move src/chrome/browser/chromeos/disks to src/chromeos (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 <stdio.h> 5 #include <stdio.h>
6 6
7 #include "base/stl_util.h" 7 #include "base/stl_util.h"
8 #include "chrome/browser/chromeos/disks/mock_disk_mount_manager.h"
9 #include "chrome/browser/extensions/extension_apitest.h" 8 #include "chrome/browser/extensions/extension_apitest.h"
10 #include "chrome/browser/profiles/profile.h" 9 #include "chrome/browser/profiles/profile.h"
11 #include "chrome/browser/ui/browser.h" 10 #include "chrome/browser/ui/browser.h"
12 #include "chrome/test/base/ui_test_utils.h" 11 #include "chrome/test/base/ui_test_utils.h"
12 #include "chromeos/disks/mock_disk_mount_manager.h"
13 #include "content/public/browser/browser_thread.h" 13 #include "content/public/browser/browser_thread.h"
14 #include "webkit/fileapi/file_system_context.h" 14 #include "webkit/fileapi/file_system_context.h"
15 #include "webkit/fileapi/file_system_mount_point_provider.h" 15 #include "webkit/fileapi/file_system_mount_point_provider.h"
16 16
17 using ::testing::_; 17 using ::testing::_;
18 using ::testing::AnyNumber; 18 using ::testing::AnyNumber;
19 using ::testing::ReturnRef; 19 using ::testing::ReturnRef;
20 using ::testing::StrEq; 20 using ::testing::StrEq;
21 using content::BrowserContext; 21 using content::BrowserContext;
22 22
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 UnmountPath(StrEq("/media/archive/archive_mount_path"))).Times(1); 242 UnmountPath(StrEq("/media/archive/archive_mount_path"))).Times(1);
243 243
244 EXPECT_CALL(*disk_mount_manager_mock_, disks()) 244 EXPECT_CALL(*disk_mount_manager_mock_, disks())
245 .WillRepeatedly(ReturnRef(volumes_)); 245 .WillRepeatedly(ReturnRef(volumes_));
246 246
247 EXPECT_CALL(*disk_mount_manager_mock_, mount_points()) 247 EXPECT_CALL(*disk_mount_manager_mock_, mount_points())
248 .WillRepeatedly(ReturnRef(mount_points_)); 248 .WillRepeatedly(ReturnRef(mount_points_));
249 249
250 ASSERT_TRUE(RunComponentExtensionTest("filebrowser_mount")) << message_; 250 ASSERT_TRUE(RunComponentExtensionTest("filebrowser_mount")) << message_;
251 } 251 }
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/extensions/file_browser_private_api.cc ('k') | chrome/browser/chromeos/imageburner/burn_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698