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

Side by Side Diff: webkit/database/quota_table.h

Issue 507014: Adding methods that will be used by the quota management UI.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 11 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
« no previous file with comments | « webkit/database/databases_table_unittest.cc ('k') | webkit/database/quota_table.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef WEBKIT_DATABASE_QUOTA_TABLE_H_
6 #define WEBKIT_DATABASE_QUOTA_TABLE_H_
7
8 #include <vector>
9
10 #include "base/string16.h"
11
12 namespace sql {
13 class Connection;
14 }
15
16 namespace webkit_database {
17
18 class QuotaTable {
19 public:
20 explicit QuotaTable(sql::Connection* db) : db_(db) { }
21
22 bool Init();
23 int64 GetOriginQuota(const string16& origin_identifier);
24 bool SetOriginQuota(const string16& origin_identifier, int64 quota);
25 bool ClearOriginQuota(const string16& origin_identifier);
26
27 private:
28 sql::Connection* db_;
29 };
30
31 } // namespace webkit_database
32
33 #endif // WEBKIT_DATABASE_QUOTA_TABLE_H_
OLDNEW
« no previous file with comments | « webkit/database/databases_table_unittest.cc ('k') | webkit/database/quota_table.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698