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

Side by Side Diff: content/browser/renderer_host/database_message_filter.h

Issue 7037018: DB quota (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 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 | « no previous file | content/browser/renderer_host/database_message_filter.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 CONTENT_BROWSER_RENDERER_HOST_DATABASE_MESSAGE_FILTER_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_DATABASE_MESSAGE_FILTER_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_DATABASE_MESSAGE_FILTER_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_DATABASE_MESSAGE_FILTER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/hash_tables.h" 9 #include "base/hash_tables.h"
10 #include "base/string16.h" 10 #include "base/string16.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 int desired_flags, 42 int desired_flags,
43 IPC::Message* reply_msg); 43 IPC::Message* reply_msg);
44 void OnDatabaseDeleteFile(const string16& vfs_file_name, 44 void OnDatabaseDeleteFile(const string16& vfs_file_name,
45 const bool& sync_dir, 45 const bool& sync_dir,
46 IPC::Message* reply_msg); 46 IPC::Message* reply_msg);
47 void OnDatabaseGetFileAttributes(const string16& vfs_file_name, 47 void OnDatabaseGetFileAttributes(const string16& vfs_file_name,
48 IPC::Message* reply_msg); 48 IPC::Message* reply_msg);
49 void OnDatabaseGetFileSize(const string16& vfs_file_name, 49 void OnDatabaseGetFileSize(const string16& vfs_file_name,
50 IPC::Message* reply_msg); 50 IPC::Message* reply_msg);
51 51
52 // Quota message handler (io thread)
53 void OnDatabaseGetSpaceAvailable(const string16& origin_identifier,
54 IPC::Message* reply_msg);
55
52 // Database tracker message handlers (file thread) 56 // Database tracker message handlers (file thread)
53 void OnDatabaseOpened(const string16& origin_identifier, 57 void OnDatabaseOpened(const string16& origin_identifier,
54 const string16& database_name, 58 const string16& database_name,
55 const string16& description, 59 const string16& description,
56 int64 estimated_size); 60 int64 estimated_size);
57 void OnDatabaseModified(const string16& origin_identifier, 61 void OnDatabaseModified(const string16& origin_identifier,
58 const string16& database_name); 62 const string16& database_name);
59 void OnDatabaseClosed(const string16& origin_identifier, 63 void OnDatabaseClosed(const string16& origin_identifier,
60 const string16& database_name); 64 const string16& database_name);
61 65
(...skipping 15 matching lines...) Expand all
77 81
78 // True if and only if this instance was added as an observer 82 // True if and only if this instance was added as an observer
79 // to DatabaseTracker. 83 // to DatabaseTracker.
80 bool observer_added_; 84 bool observer_added_;
81 85
82 // Keeps track of all DB connections opened by this renderer 86 // Keeps track of all DB connections opened by this renderer
83 webkit_database::DatabaseConnections database_connections_; 87 webkit_database::DatabaseConnections database_connections_;
84 }; 88 };
85 89
86 #endif // CONTENT_BROWSER_RENDERER_HOST_DATABASE_MESSAGE_FILTER_H_ 90 #endif // CONTENT_BROWSER_RENDERER_HOST_DATABASE_MESSAGE_FILTER_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/renderer_host/database_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698