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

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

Issue 1547093002: Switch to standard integer types in chrome/browser/chromeos/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
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_PROVIDED_FILE_SYSTEM_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_H_
6 #define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_H_ 6 #define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_H_
7 7
8 #include <stddef.h>
9 #include <stdint.h>
10
8 #include <string> 11 #include <string>
9 12
13 #include "base/macros.h"
10 #include "base/memory/ref_counted.h" 14 #include "base/memory/ref_counted.h"
11 #include "base/memory/scoped_ptr.h" 15 #include "base/memory/scoped_ptr.h"
12 #include "base/memory/weak_ptr.h" 16 #include "base/memory/weak_ptr.h"
13 #include "base/observer_list.h" 17 #include "base/observer_list.h"
14 #include "chrome/browser/chromeos/file_system_provider/abort_callback.h" 18 #include "chrome/browser/chromeos/file_system_provider/abort_callback.h"
15 #include "chrome/browser/chromeos/file_system_provider/provided_file_system_info .h" 19 #include "chrome/browser/chromeos/file_system_provider/provided_file_system_info .h"
16 #include "chrome/browser/chromeos/file_system_provider/provided_file_system_inte rface.h" 20 #include "chrome/browser/chromeos/file_system_provider/provided_file_system_inte rface.h"
17 #include "chrome/browser/chromeos/file_system_provider/provided_file_system_obse rver.h" 21 #include "chrome/browser/chromeos/file_system_provider/provided_file_system_obse rver.h"
18 #include "chrome/browser/chromeos/file_system_provider/queue.h" 22 #include "chrome/browser/chromeos/file_system_provider/queue.h"
19 #include "chrome/browser/chromeos/file_system_provider/request_manager.h" 23 #include "chrome/browser/chromeos/file_system_provider/request_manager.h"
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 const base::FilePath& directory_path, 109 const base::FilePath& directory_path,
106 const storage::AsyncFileUtil::ReadDirectoryCallback& callback) override; 110 const storage::AsyncFileUtil::ReadDirectoryCallback& callback) override;
107 AbortCallback OpenFile(const base::FilePath& file_path, 111 AbortCallback OpenFile(const base::FilePath& file_path,
108 OpenFileMode mode, 112 OpenFileMode mode,
109 const OpenFileCallback& callback) override; 113 const OpenFileCallback& callback) override;
110 AbortCallback CloseFile( 114 AbortCallback CloseFile(
111 int file_handle, 115 int file_handle,
112 const storage::AsyncFileUtil::StatusCallback& callback) override; 116 const storage::AsyncFileUtil::StatusCallback& callback) override;
113 AbortCallback ReadFile(int file_handle, 117 AbortCallback ReadFile(int file_handle,
114 net::IOBuffer* buffer, 118 net::IOBuffer* buffer,
115 int64 offset, 119 int64_t offset,
116 int length, 120 int length,
117 const ReadChunkReceivedCallback& callback) override; 121 const ReadChunkReceivedCallback& callback) override;
118 AbortCallback CreateDirectory( 122 AbortCallback CreateDirectory(
119 const base::FilePath& directory_path, 123 const base::FilePath& directory_path,
120 bool recursive, 124 bool recursive,
121 const storage::AsyncFileUtil::StatusCallback& callback) override; 125 const storage::AsyncFileUtil::StatusCallback& callback) override;
122 AbortCallback DeleteEntry( 126 AbortCallback DeleteEntry(
123 const base::FilePath& entry_path, 127 const base::FilePath& entry_path,
124 bool recursive, 128 bool recursive,
125 const storage::AsyncFileUtil::StatusCallback& callback) override; 129 const storage::AsyncFileUtil::StatusCallback& callback) override;
126 AbortCallback CreateFile( 130 AbortCallback CreateFile(
127 const base::FilePath& file_path, 131 const base::FilePath& file_path,
128 const storage::AsyncFileUtil::StatusCallback& callback) override; 132 const storage::AsyncFileUtil::StatusCallback& callback) override;
129 AbortCallback CopyEntry( 133 AbortCallback CopyEntry(
130 const base::FilePath& source_path, 134 const base::FilePath& source_path,
131 const base::FilePath& target_path, 135 const base::FilePath& target_path,
132 const storage::AsyncFileUtil::StatusCallback& callback) override; 136 const storage::AsyncFileUtil::StatusCallback& callback) override;
133 AbortCallback MoveEntry( 137 AbortCallback MoveEntry(
134 const base::FilePath& source_path, 138 const base::FilePath& source_path,
135 const base::FilePath& target_path, 139 const base::FilePath& target_path,
136 const storage::AsyncFileUtil::StatusCallback& callback) override; 140 const storage::AsyncFileUtil::StatusCallback& callback) override;
137 AbortCallback Truncate( 141 AbortCallback Truncate(
138 const base::FilePath& file_path, 142 const base::FilePath& file_path,
139 int64 length, 143 int64_t length,
140 const storage::AsyncFileUtil::StatusCallback& callback) override; 144 const storage::AsyncFileUtil::StatusCallback& callback) override;
141 AbortCallback WriteFile( 145 AbortCallback WriteFile(
142 int file_handle, 146 int file_handle,
143 net::IOBuffer* buffer, 147 net::IOBuffer* buffer,
144 int64 offset, 148 int64_t offset,
145 int length, 149 int length,
146 const storage::AsyncFileUtil::StatusCallback& callback) override; 150 const storage::AsyncFileUtil::StatusCallback& callback) override;
147 AbortCallback AddWatcher( 151 AbortCallback AddWatcher(
148 const GURL& origin, 152 const GURL& origin,
149 const base::FilePath& entry_path, 153 const base::FilePath& entry_path,
150 bool recursive, 154 bool recursive,
151 bool persistent, 155 bool persistent,
152 const storage::AsyncFileUtil::StatusCallback& callback, 156 const storage::AsyncFileUtil::StatusCallback& callback,
153 const storage::WatcherManager::NotificationCallback& 157 const storage::WatcherManager::NotificationCallback&
154 notification_callback) override; 158 notification_callback) override;
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 base::ObserverList<ProvidedFileSystemObserver> observers_; 256 base::ObserverList<ProvidedFileSystemObserver> observers_;
253 257
254 base::WeakPtrFactory<ProvidedFileSystem> weak_ptr_factory_; 258 base::WeakPtrFactory<ProvidedFileSystem> weak_ptr_factory_;
255 DISALLOW_COPY_AND_ASSIGN(ProvidedFileSystem); 259 DISALLOW_COPY_AND_ASSIGN(ProvidedFileSystem);
256 }; 260 };
257 261
258 } // namespace file_system_provider 262 } // namespace file_system_provider
259 } // namespace chromeos 263 } // namespace chromeos
260 264
261 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_H_ 265 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698