OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #include "content/common/db_message_filter.h" | 5 #include "content/child/db_message_filter.h" |
6 | 6 |
7 #include "content/common/database_messages.h" | 7 #include "content/common/database_messages.h" |
8 #include "third_party/WebKit/public/platform/WebString.h" | 8 #include "third_party/WebKit/public/platform/WebString.h" |
9 #include "third_party/WebKit/public/web/WebDatabase.h" | 9 #include "third_party/WebKit/public/web/WebDatabase.h" |
10 | 10 |
11 using WebKit::WebString; | 11 using WebKit::WebString; |
12 | 12 |
13 namespace content { | 13 namespace content { |
14 | 14 |
15 DBMessageFilter::DBMessageFilter() { | 15 DBMessageFilter::DBMessageFilter() { |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 } | 51 } |
52 | 52 |
53 void DBMessageFilter::OnDatabaseCloseImmediately( | 53 void DBMessageFilter::OnDatabaseCloseImmediately( |
54 const std::string& origin_identifier, | 54 const std::string& origin_identifier, |
55 const string16& database_name) { | 55 const string16& database_name) { |
56 WebKit::WebDatabase::closeDatabaseImmediately( | 56 WebKit::WebDatabase::closeDatabaseImmediately( |
57 WebString::fromUTF8(origin_identifier), database_name); | 57 WebString::fromUTF8(origin_identifier), database_name); |
58 } | 58 } |
59 | 59 |
60 } // namespace content | 60 } // namespace content |
OLD | NEW |