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

Side by Side Diff: chrome/browser/media_galleries/fileapi/media_file_system_backend.h

Issue 1550593002: Switch to standard integer types in chrome/browser/, part 2 of 4. (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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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_MEDIA_GALLERIES_FILEAPI_MEDIA_FILE_SYSTEM_BACKEND_H_ 5 #ifndef CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_MEDIA_FILE_SYSTEM_BACKEND_H_
6 #define CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_MEDIA_FILE_SYSTEM_BACKEND_H_ 6 #define CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_MEDIA_FILE_SYSTEM_BACKEND_H_
7 7
8 #include <stdint.h>
9
8 #include <string> 10 #include <string>
9 11
10 #include "base/callback.h" 12 #include "base/callback.h"
11 #include "base/files/file_path.h" 13 #include "base/files/file_path.h"
14 #include "base/macros.h"
12 #include "base/memory/ref_counted.h" 15 #include "base/memory/ref_counted.h"
13 #include "base/memory/scoped_ptr.h" 16 #include "base/memory/scoped_ptr.h"
17 #include "build/build_config.h"
14 #include "chrome/browser/media_galleries/media_galleries_preferences.h" 18 #include "chrome/browser/media_galleries/media_galleries_preferences.h"
15 #include "storage/browser/fileapi/file_system_backend.h" 19 #include "storage/browser/fileapi/file_system_backend.h"
16 #include "storage/browser/fileapi/task_runner_bound_observer_list.h" 20 #include "storage/browser/fileapi/task_runner_bound_observer_list.h"
17 21
18 namespace base { 22 namespace base {
19 class SequencedTaskRunner; 23 class SequencedTaskRunner;
20 } 24 }
21 25
22 namespace storage { 26 namespace storage {
23 class FileSystemURL; 27 class FileSystemURL;
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 base::File::Error* error_code) override; 73 base::File::Error* error_code) override;
70 storage::FileSystemOperation* CreateFileSystemOperation( 74 storage::FileSystemOperation* CreateFileSystemOperation(
71 const storage::FileSystemURL& url, 75 const storage::FileSystemURL& url,
72 storage::FileSystemContext* context, 76 storage::FileSystemContext* context,
73 base::File::Error* error_code) const override; 77 base::File::Error* error_code) const override;
74 bool SupportsStreaming(const storage::FileSystemURL& url) const override; 78 bool SupportsStreaming(const storage::FileSystemURL& url) const override;
75 bool HasInplaceCopyImplementation( 79 bool HasInplaceCopyImplementation(
76 storage::FileSystemType type) const override; 80 storage::FileSystemType type) const override;
77 scoped_ptr<storage::FileStreamReader> CreateFileStreamReader( 81 scoped_ptr<storage::FileStreamReader> CreateFileStreamReader(
78 const storage::FileSystemURL& url, 82 const storage::FileSystemURL& url,
79 int64 offset, 83 int64_t offset,
80 int64 max_bytes_to_read, 84 int64_t max_bytes_to_read,
81 const base::Time& expected_modification_time, 85 const base::Time& expected_modification_time,
82 storage::FileSystemContext* context) const override; 86 storage::FileSystemContext* context) const override;
83 scoped_ptr<storage::FileStreamWriter> CreateFileStreamWriter( 87 scoped_ptr<storage::FileStreamWriter> CreateFileStreamWriter(
84 const storage::FileSystemURL& url, 88 const storage::FileSystemURL& url,
85 int64 offset, 89 int64_t offset,
86 storage::FileSystemContext* context) const override; 90 storage::FileSystemContext* context) const override;
87 storage::FileSystemQuotaUtil* GetQuotaUtil() override; 91 storage::FileSystemQuotaUtil* GetQuotaUtil() override;
88 const storage::UpdateObserverList* GetUpdateObservers( 92 const storage::UpdateObserverList* GetUpdateObservers(
89 storage::FileSystemType type) const override; 93 storage::FileSystemType type) const override;
90 const storage::ChangeObserverList* GetChangeObservers( 94 const storage::ChangeObserverList* GetChangeObservers(
91 storage::FileSystemType type) const override; 95 storage::FileSystemType type) const override;
92 const storage::AccessObserverList* GetAccessObservers( 96 const storage::AccessObserverList* GetAccessObservers(
93 storage::FileSystemType type) const override; 97 storage::FileSystemType type) const override;
94 98
95 private: 99 private:
(...skipping 20 matching lines...) Expand all
116 scoped_ptr<storage::AsyncFileUtil> iphoto_file_util_; 120 scoped_ptr<storage::AsyncFileUtil> iphoto_file_util_;
117 121
118 // Used for usage UMA tracking. 122 // Used for usage UMA tracking.
119 bool iphoto_file_util_used_; 123 bool iphoto_file_util_used_;
120 #endif // defined(OS_MACOSX) 124 #endif // defined(OS_MACOSX)
121 125
122 DISALLOW_COPY_AND_ASSIGN(MediaFileSystemBackend); 126 DISALLOW_COPY_AND_ASSIGN(MediaFileSystemBackend);
123 }; 127 };
124 128
125 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_MEDIA_FILE_SYSTEM_BACKEND_H_ 129 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_MEDIA_FILE_SYSTEM_BACKEND_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698