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

Side by Side Diff: chrome/browser/chromeos/drive/file_system/drive_operations.h

Issue 14755002: drive: Drop "Drive" from FakeDriveFileSystem and MockDriveFileSystem (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: some more cleanup Created 7 years, 7 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 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_DRIVE_OPERATIONS_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_DRIVE_OPERATIONS_H_
6 #define CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_DRIVE_OPERATIONS_H_ 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_DRIVE_OPERATIONS_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/sequenced_task_runner.h" 9 #include "base/sequenced_task_runner.h"
10 #include "chrome/browser/chromeos/drive/drive_file_system_interface.h" 10 #include "chrome/browser/chromeos/drive/drive_file_system_interface.h"
(...skipping 20 matching lines...) Expand all
31 class UpdateOperation; 31 class UpdateOperation;
32 32
33 // Passes notifications from Drive operations back to the file system. 33 // Passes notifications from Drive operations back to the file system.
34 class DriveOperations { 34 class DriveOperations {
35 public: 35 public:
36 DriveOperations(); 36 DriveOperations();
37 ~DriveOperations(); 37 ~DriveOperations();
38 38
39 // Allocates the operation objects and initializes the operation pointers. 39 // Allocates the operation objects and initializes the operation pointers.
40 void Init(JobScheduler* job_scheduler, 40 void Init(JobScheduler* job_scheduler,
41 DriveFileSystemInterface* drive_file_system, 41 DriveFileSystemInterface* file_system,
42 FileCache* cache, 42 FileCache* cache,
43 internal::ResourceMetadata* metadata, 43 internal::ResourceMetadata* metadata,
44 scoped_refptr<base::SequencedTaskRunner> blocking_task_runner, 44 scoped_refptr<base::SequencedTaskRunner> blocking_task_runner,
45 OperationObserver* observer); 45 OperationObserver* observer);
46 46
47 // Initializes the operation pointers. For testing only. 47 // Initializes the operation pointers. For testing only.
48 void InitForTesting(CopyOperation* copy_operation, 48 void InitForTesting(CopyOperation* copy_operation,
49 MoveOperation* move_operation, 49 MoveOperation* move_operation,
50 RemoveOperation* remove_operation, 50 RemoveOperation* remove_operation,
51 UpdateOperation* update_operation); 51 UpdateOperation* update_operation);
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 scoped_ptr<CreateFileOperation> create_file_operation_; 106 scoped_ptr<CreateFileOperation> create_file_operation_;
107 scoped_ptr<MoveOperation> move_operation_; 107 scoped_ptr<MoveOperation> move_operation_;
108 scoped_ptr<RemoveOperation> remove_operation_; 108 scoped_ptr<RemoveOperation> remove_operation_;
109 scoped_ptr<UpdateOperation> update_operation_; 109 scoped_ptr<UpdateOperation> update_operation_;
110 }; 110 };
111 111
112 } // namespace file_system 112 } // namespace file_system
113 } // namespace drive 113 } // namespace drive
114 114
115 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_DRIVE_OPERATIONS_H_ 115 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_DRIVE_OPERATIONS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698