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

Side by Side Diff: chrome/browser/chromeos/file_system_provider/fake_provided_file_system.h

Issue 658313002: [fsp] Store observed entries in preferences. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git/+/master
Patch Set: Fixed. Created 6 years, 2 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/file_system_provider/fake_provided_file_system.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_FILE_SYSTEM_PROVIDER_FAKE_PROVIDED_FILE_SYSTEM_H _ 5 #ifndef CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_FAKE_PROVIDED_FILE_SYSTEM_H _
6 #define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_FAKE_PROVIDED_FILE_SYSTEM_H _ 6 #define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_FAKE_PROVIDED_FILE_SYSTEM_H _
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 // called. 168 // called.
169 void AbortMany(const std::vector<int>& task_ids, 169 void AbortMany(const std::vector<int>& task_ids,
170 const storage::AsyncFileUtil::StatusCallback& callback); 170 const storage::AsyncFileUtil::StatusCallback& callback);
171 171
172 ProvidedFileSystemInfo file_system_info_; 172 ProvidedFileSystemInfo file_system_info_;
173 Entries entries_; 173 Entries entries_;
174 OpenedFilesMap opened_files_; 174 OpenedFilesMap opened_files_;
175 int last_file_handle_; 175 int last_file_handle_;
176 base::CancelableTaskTracker tracker_; 176 base::CancelableTaskTracker tracker_;
177 ObserverList<ProvidedFileSystemObserver> observers_; 177 ObserverList<ProvidedFileSystemObserver> observers_;
178 ObservedEntries observed_entries_;
178 179
179 base::WeakPtrFactory<FakeProvidedFileSystem> weak_ptr_factory_; 180 base::WeakPtrFactory<FakeProvidedFileSystem> weak_ptr_factory_;
180 DISALLOW_COPY_AND_ASSIGN(FakeProvidedFileSystem); 181 DISALLOW_COPY_AND_ASSIGN(FakeProvidedFileSystem);
181 }; 182 };
182 183
183 } // namespace file_system_provider 184 } // namespace file_system_provider
184 } // namespace chromeos 185 } // namespace chromeos
185 186
186 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_FAKE_PROVIDED_FILE_SYSTE M_H_ 187 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_FAKE_PROVIDED_FILE_SYSTE M_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/file_system_provider/fake_provided_file_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698