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

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

Issue 450903002: Random clean up around Chrome OS file manager code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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/file_manager/drive_test_util.h" 5 #include "chrome/browser/chromeos/file_manager/drive_test_util.h"
6 6
7 #include "base/files/file_path.h"
8 #include "base/run_loop.h" 7 #include "base/run_loop.h"
9 #include "chrome/browser/chromeos/drive/drive_integration_service.h" 8 #include "chrome/browser/chromeos/drive/drive_integration_service.h"
10 #include "chrome/browser/profiles/profile.h"
11 #include "content/public/browser/browser_context.h"
12 #include "webkit/browser/fileapi/external_mount_points.h"
13 9
14 namespace file_manager { 10 namespace file_manager {
15 namespace test_util { 11 namespace test_util {
16 12
17 namespace { 13 namespace {
18 14
19 // Helper class used to wait for |OnFileSystemMounted| event from a drive file 15 // Helper class used to wait for |OnFileSystemMounted| event from a drive file
20 // system. 16 // system.
21 class DriveMountPointWaiter : public drive::DriveIntegrationServiceObserver { 17 class DriveMountPointWaiter : public drive::DriveIntegrationServiceObserver {
22 public: 18 public:
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 return; 64 return;
69 65
70 DriveMountPointWaiter mount_point_waiter(integration_service); 66 DriveMountPointWaiter mount_point_waiter(integration_service);
71 VLOG(1) << "Waiting for drive mount point to get mounted."; 67 VLOG(1) << "Waiting for drive mount point to get mounted.";
72 mount_point_waiter.Wait(); 68 mount_point_waiter.Wait();
73 VLOG(1) << "Drive mount point found."; 69 VLOG(1) << "Drive mount point found.";
74 } 70 }
75 71
76 } // namespace test_util 72 } // namespace test_util
77 } // namespace file_manager 73 } // namespace file_manager
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc ('k') | google_apis/drive/base_requests_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698