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

Side by Side Diff: storage/browser/fileapi/file_system_quota_client.h

Issue 1429333002: Deprecate STORAGE_EXPORT_PRIVATE macro. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix rebase error Created 5 years, 1 month 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_QUOTA_CLIENT_H_ 5 #ifndef STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_QUOTA_CLIENT_H_
6 #define STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_QUOTA_CLIENT_H_ 6 #define STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_QUOTA_CLIENT_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 13 matching lines...) Expand all
24 24
25 namespace storage { 25 namespace storage {
26 26
27 class FileSystemContext; 27 class FileSystemContext;
28 28
29 // An instance of this class is created per-profile. This class 29 // An instance of this class is created per-profile. This class
30 // is self-destructed and will delete itself when OnQuotaManagerDestroyed 30 // is self-destructed and will delete itself when OnQuotaManagerDestroyed
31 // is called. 31 // is called.
32 // All of the public methods of this class are called by the quota manager 32 // All of the public methods of this class are called by the quota manager
33 // (except for the constructor/destructor). 33 // (except for the constructor/destructor).
34 class STORAGE_EXPORT_PRIVATE FileSystemQuotaClient 34 class STORAGE_EXPORT FileSystemQuotaClient
35 : public NON_EXPORTED_BASE(storage::QuotaClient) { 35 : public NON_EXPORTED_BASE(storage::QuotaClient) {
36 public: 36 public:
37 FileSystemQuotaClient( 37 FileSystemQuotaClient(
38 FileSystemContext* file_system_context, 38 FileSystemContext* file_system_context,
39 bool is_incognito); 39 bool is_incognito);
40 ~FileSystemQuotaClient() override; 40 ~FileSystemQuotaClient() override;
41 41
42 // QuotaClient methods. 42 // QuotaClient methods.
43 storage::QuotaClient::ID id() const override; 43 storage::QuotaClient::ID id() const override;
44 void OnQuotaManagerDestroyed() override; 44 void OnQuotaManagerDestroyed() override;
(...skipping 16 matching lines...) Expand all
61 scoped_refptr<FileSystemContext> file_system_context_; 61 scoped_refptr<FileSystemContext> file_system_context_;
62 62
63 bool is_incognito_; 63 bool is_incognito_;
64 64
65 DISALLOW_COPY_AND_ASSIGN(FileSystemQuotaClient); 65 DISALLOW_COPY_AND_ASSIGN(FileSystemQuotaClient);
66 }; 66 };
67 67
68 } // namespace storage 68 } // namespace storage
69 69
70 #endif // STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_QUOTA_CLIENT_H_ 70 #endif // STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_QUOTA_CLIENT_H_
OLDNEW
« no previous file with comments | « storage/browser/fileapi/file_system_operation_context.h ('k') | storage/browser/fileapi/file_system_url_request_job.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698