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

Side by Side Diff: webkit/browser/fileapi/syncable/syncable_file_operation_runner.h

Issue 16701004: Fix webkit_storage exports definitions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 6 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 | Annotate | Revision Log
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 WEBKIT_BROWSER_FILEAPI_SYNCABLE_SYNCABLE_FILE_OPERATION_RUNNER_H_ 5 #ifndef WEBKIT_BROWSER_FILEAPI_SYNCABLE_SYNCABLE_FILE_OPERATION_RUNNER_H_
6 #define WEBKIT_BROWSER_FILEAPI_SYNCABLE_SYNCABLE_FILE_OPERATION_RUNNER_H_ 6 #define WEBKIT_BROWSER_FILEAPI_SYNCABLE_SYNCABLE_FILE_OPERATION_RUNNER_H_
7 7
8 #include <list> 8 #include <list>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/callback.h" 12 #include "base/callback.h"
13 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
14 #include "base/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
15 #include "base/threading/non_thread_safe.h" 15 #include "base/threading/non_thread_safe.h"
16 #include "webkit/browser/fileapi/file_system_url.h" 16 #include "webkit/browser/fileapi/file_system_url.h"
17 #include "webkit/browser/fileapi/syncable/local_file_sync_status.h" 17 #include "webkit/browser/fileapi/syncable/local_file_sync_status.h"
18 #include "webkit/storage/webkit_storage_export.h" 18 #include "webkit/browser/webkit_storage_browser_export.h"
19 19
20 namespace fileapi { 20 namespace fileapi {
21 class FileSystemURL; 21 class FileSystemURL;
22 } 22 }
23 23
24 namespace sync_file_system { 24 namespace sync_file_system {
25 25
26 // This class must run only on IO thread. 26 // This class must run only on IO thread.
27 // Owned by LocalFileSyncContext. 27 // Owned by LocalFileSyncContext.
28 class WEBKIT_STORAGE_EXPORT SyncableFileOperationRunner 28 class WEBKIT_STORAGE_BROWSER_EXPORT SyncableFileOperationRunner
29 : public base::NonThreadSafe, 29 : public base::NonThreadSafe,
30 public base::SupportsWeakPtr<SyncableFileOperationRunner>, 30 public base::SupportsWeakPtr<SyncableFileOperationRunner>,
31 public LocalFileSyncStatus::Observer { 31 public LocalFileSyncStatus::Observer {
32 public: 32 public:
33 // Represents an operation task (which usually wraps one FileSystemOperation). 33 // Represents an operation task (which usually wraps one FileSystemOperation).
34 class Task { 34 class Task {
35 public: 35 public:
36 Task() {} 36 Task() {}
37 virtual ~Task() {} 37 virtual ~Task() {}
38 38
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 96
97 const int64 max_inflight_tasks_; 97 const int64 max_inflight_tasks_;
98 int64 num_inflight_tasks_; 98 int64 num_inflight_tasks_;
99 99
100 DISALLOW_COPY_AND_ASSIGN(SyncableFileOperationRunner); 100 DISALLOW_COPY_AND_ASSIGN(SyncableFileOperationRunner);
101 }; 101 };
102 102
103 } // namespace sync_file_system 103 } // namespace sync_file_system
104 104
105 #endif // WEBKIT_BROWSER_FILEAPI_SYNCABLE_SYNCABLE_FILE_OPERATION_RUNNER_H_ 105 #endif // WEBKIT_BROWSER_FILEAPI_SYNCABLE_SYNCABLE_FILE_OPERATION_RUNNER_H_
OLDNEW
« no previous file with comments | « webkit/browser/fileapi/syncable/sync_status_code.h ('k') | webkit/browser/fileapi/syncable/syncable_file_system_operation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698