OLD | NEW |
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 CONTENT_CHILD_DB_MESSAGE_FILTER_H_ | 5 #ifndef CONTENT_CHILD_DB_MESSAGE_FILTER_H_ |
6 #define CONTENT_CHILD_DB_MESSAGE_FILTER_H_ | 6 #define CONTENT_CHILD_DB_MESSAGE_FILTER_H_ |
7 | 7 |
| 8 #include "base/basictypes.h" |
8 #include "base/strings/string16.h" | 9 #include "base/strings/string16.h" |
9 #include "ipc/message_filter.h" | 10 #include "ipc/message_filter.h" |
10 | 11 |
11 namespace content { | 12 namespace content { |
12 | 13 |
13 // Receives database messages from the browser process and processes them on the | 14 // Receives database messages from the browser process and processes them on the |
14 // IO thread. | 15 // IO thread. |
15 class DBMessageFilter : public IPC::MessageFilter { | 16 class DBMessageFilter : public IPC::MessageFilter { |
16 public: | 17 public: |
17 DBMessageFilter(); | 18 DBMessageFilter(); |
(...skipping 11 matching lines...) Expand all Loading... |
29 void OnDatabaseUpdateSpaceAvailable(const std::string& origin_identifier, | 30 void OnDatabaseUpdateSpaceAvailable(const std::string& origin_identifier, |
30 int64 space_available); | 31 int64 space_available); |
31 void OnDatabaseResetSpaceAvailable(const std::string& origin_identifier); | 32 void OnDatabaseResetSpaceAvailable(const std::string& origin_identifier); |
32 void OnDatabaseCloseImmediately(const std::string& origin_identifier, | 33 void OnDatabaseCloseImmediately(const std::string& origin_identifier, |
33 const base::string16& database_name); | 34 const base::string16& database_name); |
34 }; | 35 }; |
35 | 36 |
36 } // namespace content | 37 } // namespace content |
37 | 38 |
38 #endif // CONTENT_CHILD_DB_MESSAGE_FILTER_H_ | 39 #endif // CONTENT_CHILD_DB_MESSAGE_FILTER_H_ |
OLD | NEW |