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

Side by Side Diff: chrome/browser/sync_file_system/local/sync_file_system_backend.h

Issue 1545223002: Switch to standard integer types in chrome/browser/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_SYNC_FILE_SYSTEM_LOCAL_SYNC_FILE_SYSTEM_BACKEND_H_ 5 #ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_LOCAL_SYNC_FILE_SYSTEM_BACKEND_H_
6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_LOCAL_SYNC_FILE_SYSTEM_BACKEND_H_ 6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_LOCAL_SYNC_FILE_SYSTEM_BACKEND_H_
7 7
8 #include <stdint.h>
9
10 #include "base/macros.h"
8 #include "chrome/browser/profiles/profile.h" 11 #include "chrome/browser/profiles/profile.h"
9 #include "chrome/browser/sync_file_system/sync_callbacks.h" 12 #include "chrome/browser/sync_file_system/sync_callbacks.h"
10 #include "chrome/browser/sync_file_system/sync_status_code.h" 13 #include "chrome/browser/sync_file_system/sync_status_code.h"
11 #include "content/public/browser/notification_observer.h" 14 #include "content/public/browser/notification_observer.h"
12 #include "content/public/browser/notification_registrar.h" 15 #include "content/public/browser/notification_registrar.h"
13 #include "storage/browser/fileapi/file_system_backend.h" 16 #include "storage/browser/fileapi/file_system_backend.h"
14 #include "storage/browser/fileapi/file_system_quota_util.h" 17 #include "storage/browser/fileapi/file_system_quota_util.h"
15 #include "storage/browser/fileapi/sandbox_file_system_backend_delegate.h" 18 #include "storage/browser/fileapi/sandbox_file_system_backend_delegate.h"
16 #include "storage/browser/fileapi/task_runner_bound_observer_list.h" 19 #include "storage/browser/fileapi/task_runner_bound_observer_list.h"
17 20
(...skipping 24 matching lines...) Expand all
42 base::File::Error* error_code) override; 45 base::File::Error* error_code) override;
43 storage::FileSystemOperation* CreateFileSystemOperation( 46 storage::FileSystemOperation* CreateFileSystemOperation(
44 const storage::FileSystemURL& url, 47 const storage::FileSystemURL& url,
45 storage::FileSystemContext* context, 48 storage::FileSystemContext* context,
46 base::File::Error* error_code) const override; 49 base::File::Error* error_code) const override;
47 bool SupportsStreaming(const storage::FileSystemURL& url) const override; 50 bool SupportsStreaming(const storage::FileSystemURL& url) const override;
48 bool HasInplaceCopyImplementation( 51 bool HasInplaceCopyImplementation(
49 storage::FileSystemType type) const override; 52 storage::FileSystemType type) const override;
50 scoped_ptr<storage::FileStreamReader> CreateFileStreamReader( 53 scoped_ptr<storage::FileStreamReader> CreateFileStreamReader(
51 const storage::FileSystemURL& url, 54 const storage::FileSystemURL& url,
52 int64 offset, 55 int64_t offset,
53 int64 max_bytes_to_read, 56 int64_t max_bytes_to_read,
54 const base::Time& expected_modification_time, 57 const base::Time& expected_modification_time,
55 storage::FileSystemContext* context) const override; 58 storage::FileSystemContext* context) const override;
56 scoped_ptr<storage::FileStreamWriter> CreateFileStreamWriter( 59 scoped_ptr<storage::FileStreamWriter> CreateFileStreamWriter(
57 const storage::FileSystemURL& url, 60 const storage::FileSystemURL& url,
58 int64 offset, 61 int64_t offset,
59 storage::FileSystemContext* context) const override; 62 storage::FileSystemContext* context) const override;
60 storage::FileSystemQuotaUtil* GetQuotaUtil() override; 63 storage::FileSystemQuotaUtil* GetQuotaUtil() override;
61 const storage::UpdateObserverList* GetUpdateObservers( 64 const storage::UpdateObserverList* GetUpdateObservers(
62 storage::FileSystemType type) const override; 65 storage::FileSystemType type) const override;
63 const storage::ChangeObserverList* GetChangeObservers( 66 const storage::ChangeObserverList* GetChangeObservers(
64 storage::FileSystemType type) const override; 67 storage::FileSystemType type) const override;
65 const storage::AccessObserverList* GetAccessObservers( 68 const storage::AccessObserverList* GetAccessObservers(
66 storage::FileSystemType type) const override; 69 storage::FileSystemType type) const override;
67 70
68 static SyncFileSystemBackend* GetBackend( 71 static SyncFileSystemBackend* GetBackend(
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 storage::OpenFileSystemMode mode, 119 storage::OpenFileSystemMode mode,
117 const OpenFileSystemCallback& callback, 120 const OpenFileSystemCallback& callback,
118 SyncStatusCode status); 121 SyncStatusCode status);
119 122
120 DISALLOW_COPY_AND_ASSIGN(SyncFileSystemBackend); 123 DISALLOW_COPY_AND_ASSIGN(SyncFileSystemBackend);
121 }; 124 };
122 125
123 } // namespace sync_file_system 126 } // namespace sync_file_system
124 127
125 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_LOCAL_SYNC_FILE_SYSTEM_BACKEND_H_ 128 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_LOCAL_SYNC_FILE_SYSTEM_BACKEND_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698