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

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

Issue 23625013: Remove drive::FileSystemInterface::Initialize(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. 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 (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_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_H_
6 #define CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_H_ 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 FileSystem(PrefService* pref_service, 64 FileSystem(PrefService* pref_service,
65 internal::FileCache* cache, 65 internal::FileCache* cache,
66 DriveServiceInterface* drive_service, 66 DriveServiceInterface* drive_service,
67 JobScheduler* scheduler, 67 JobScheduler* scheduler,
68 internal::ResourceMetadata* resource_metadata, 68 internal::ResourceMetadata* resource_metadata,
69 base::SequencedTaskRunner* blocking_task_runner, 69 base::SequencedTaskRunner* blocking_task_runner,
70 const base::FilePath& temporary_file_directory); 70 const base::FilePath& temporary_file_directory);
71 virtual ~FileSystem(); 71 virtual ~FileSystem();
72 72
73 // FileSystemInterface overrides. 73 // FileSystemInterface overrides.
74 virtual void Initialize() OVERRIDE;
75 virtual void AddObserver(FileSystemObserver* observer) OVERRIDE; 74 virtual void AddObserver(FileSystemObserver* observer) OVERRIDE;
76 virtual void RemoveObserver(FileSystemObserver* observer) OVERRIDE; 75 virtual void RemoveObserver(FileSystemObserver* observer) OVERRIDE;
77 virtual void CheckForUpdates() OVERRIDE; 76 virtual void CheckForUpdates() OVERRIDE;
78 virtual void Search(const std::string& search_query, 77 virtual void Search(const std::string& search_query,
79 const GURL& next_link, 78 const GURL& next_link,
80 const SearchCallback& callback) OVERRIDE; 79 const SearchCallback& callback) OVERRIDE;
81 virtual void SearchMetadata(const std::string& query, 80 virtual void SearchMetadata(const std::string& query,
82 int options, 81 int options,
83 int at_most_num_matches, 82 int at_most_num_matches,
84 const SearchMetadataCallback& callback) OVERRIDE; 83 const SearchMetadataCallback& callback) OVERRIDE;
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 // Note: This should remain the last member so it'll be destroyed and 305 // Note: This should remain the last member so it'll be destroyed and
307 // invalidate the weak pointers before any other members are destroyed. 306 // invalidate the weak pointers before any other members are destroyed.
308 base::WeakPtrFactory<FileSystem> weak_ptr_factory_; 307 base::WeakPtrFactory<FileSystem> weak_ptr_factory_;
309 308
310 DISALLOW_COPY_AND_ASSIGN(FileSystem); 309 DISALLOW_COPY_AND_ASSIGN(FileSystem);
311 }; 310 };
312 311
313 } // namespace drive 312 } // namespace drive
314 313
315 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_H_ 314 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/drive/fake_file_system_unittest.cc ('k') | chrome/browser/chromeos/drive/file_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698