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

Side by Side Diff: chrome/browser/chromeos/file_manager/volume_manager_unittest.cc

Issue 23892008: Move VolumeManager to c/b/chromeos/file_manager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "chrome/browser/chromeos/extensions/file_manager/volume_manager.h" 5 #include "chrome/browser/chromeos/file_manager/volume_manager.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/prefs/pref_service.h" 11 #include "base/prefs/pref_service.h"
12 #include "chrome/browser/chromeos/extensions/file_manager/volume_manager_observe r.h" 12 #include "chrome/browser/chromeos/file_manager/volume_manager_observer.h"
13 #include "chrome/common/pref_names.h" 13 #include "chrome/common/pref_names.h"
14 #include "chrome/test/base/testing_profile.h" 14 #include "chrome/test/base/testing_profile.h"
15 #include "chromeos/disks/disk_mount_manager.h" 15 #include "chromeos/disks/disk_mount_manager.h"
16 #include "content/public/test/test_browser_thread_bundle.h" 16 #include "content/public/test/test_browser_thread_bundle.h"
17 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
18 18
19 namespace file_manager { 19 namespace file_manager {
20 namespace { 20 namespace {
21 21
22 // Fake implementation of DiskMountManager. 22 // Fake implementation of DiskMountManager.
(...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after
532 EXPECT_EQ(LoggingObserver::Event::FORMAT_COMPLETED, event.type); 532 EXPECT_EQ(LoggingObserver::Event::FORMAT_COMPLETED, event.type);
533 EXPECT_EQ("device1", event.device_path); 533 EXPECT_EQ("device1", event.device_path);
534 EXPECT_FALSE(event.success); 534 EXPECT_FALSE(event.success);
535 535
536 EXPECT_EQ(0U, disk_mount_manager_->mount_requests().size()); 536 EXPECT_EQ(0U, disk_mount_manager_->mount_requests().size());
537 537
538 volume_manager_->RemoveObserver(&observer); 538 volume_manager_->RemoveObserver(&observer);
539 } 539 }
540 540
541 } // namespace file_manager 541 } // namespace file_manager
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/file_manager/volume_manager_observer.h ('k') | chrome/chrome_browser_chromeos.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698