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

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

Issue 23545016: Not creating ClientUsageTracker for unsupported storage type. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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 (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 WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_QUOTA_CLIENT_H_ 5 #ifndef WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_QUOTA_CLIENT_H_
6 #define WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_QUOTA_CLIENT_H_ 6 #define WEBKIT_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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 quota::StorageType type, 49 quota::StorageType type,
50 const GetOriginsCallback& callback) OVERRIDE; 50 const GetOriginsCallback& callback) OVERRIDE;
51 virtual void GetOriginsForHost( 51 virtual void GetOriginsForHost(
52 quota::StorageType type, 52 quota::StorageType type,
53 const std::string& host, 53 const std::string& host,
54 const GetOriginsCallback& callback) OVERRIDE; 54 const GetOriginsCallback& callback) OVERRIDE;
55 virtual void DeleteOriginData( 55 virtual void DeleteOriginData(
56 const GURL& origin, 56 const GURL& origin,
57 quota::StorageType type, 57 quota::StorageType type,
58 const DeletionCallback& callback) OVERRIDE; 58 const DeletionCallback& callback) OVERRIDE;
59 virtual bool DoesSupport(quota::StorageType type) const OVERRIDE;
59 60
60 private: 61 private:
61 base::SequencedTaskRunner* file_task_runner() const; 62 base::SequencedTaskRunner* file_task_runner() const;
62 63
63 scoped_refptr<FileSystemContext> file_system_context_; 64 scoped_refptr<FileSystemContext> file_system_context_;
64 65
65 bool is_incognito_; 66 bool is_incognito_;
66 67
67 DISALLOW_COPY_AND_ASSIGN(FileSystemQuotaClient); 68 DISALLOW_COPY_AND_ASSIGN(FileSystemQuotaClient);
68 }; 69 };
69 70
70 } // namespace fileapi 71 } // namespace fileapi
71 72
72 #endif // WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_QUOTA_CLIENT_H_ 73 #endif // WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_QUOTA_CLIENT_H_
OLDNEW
« no previous file with comments | « webkit/browser/fileapi/file_system_context.cc ('k') | webkit/browser/fileapi/file_system_quota_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698