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

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

Issue 528683002: [fsp] Remove the exclusive field from the CreateDirectory operation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed a comment. Created 6 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
« 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 int file_handle, 86 int file_handle,
87 const storage::AsyncFileUtil::StatusCallback& callback) OVERRIDE; 87 const storage::AsyncFileUtil::StatusCallback& callback) OVERRIDE;
88 virtual AbortCallback ReadFile( 88 virtual AbortCallback ReadFile(
89 int file_handle, 89 int file_handle,
90 net::IOBuffer* buffer, 90 net::IOBuffer* buffer,
91 int64 offset, 91 int64 offset,
92 int length, 92 int length,
93 const ReadChunkReceivedCallback& callback) OVERRIDE; 93 const ReadChunkReceivedCallback& callback) OVERRIDE;
94 virtual AbortCallback CreateDirectory( 94 virtual AbortCallback CreateDirectory(
95 const base::FilePath& directory_path, 95 const base::FilePath& directory_path,
96 bool exclusive,
97 bool recursive, 96 bool recursive,
98 const storage::AsyncFileUtil::StatusCallback& callback) OVERRIDE; 97 const storage::AsyncFileUtil::StatusCallback& callback) OVERRIDE;
99 virtual AbortCallback DeleteEntry( 98 virtual AbortCallback DeleteEntry(
100 const base::FilePath& entry_path, 99 const base::FilePath& entry_path,
101 bool recursive, 100 bool recursive,
102 const storage::AsyncFileUtil::StatusCallback& callback) OVERRIDE; 101 const storage::AsyncFileUtil::StatusCallback& callback) OVERRIDE;
103 virtual AbortCallback CreateFile( 102 virtual AbortCallback CreateFile(
104 const base::FilePath& file_path, 103 const base::FilePath& file_path,
105 const storage::AsyncFileUtil::StatusCallback& callback) OVERRIDE; 104 const storage::AsyncFileUtil::StatusCallback& callback) OVERRIDE;
106 virtual AbortCallback CopyEntry( 105 virtual AbortCallback CopyEntry(
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 base::CancelableTaskTracker tracker_; 156 base::CancelableTaskTracker tracker_;
158 157
159 base::WeakPtrFactory<FakeProvidedFileSystem> weak_ptr_factory_; 158 base::WeakPtrFactory<FakeProvidedFileSystem> weak_ptr_factory_;
160 DISALLOW_COPY_AND_ASSIGN(FakeProvidedFileSystem); 159 DISALLOW_COPY_AND_ASSIGN(FakeProvidedFileSystem);
161 }; 160 };
162 161
163 } // namespace file_system_provider 162 } // namespace file_system_provider
164 } // namespace chromeos 163 } // namespace chromeos
165 164
166 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_FAKE_PROVIDED_FILE_SYSTE M_H_ 165 #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