OLD | NEW |
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 #include "webkit/browser/database/database_tracker.h" | 5 #include "webkit/browser/database/database_tracker.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/bind.h" | 11 #include "base/bind.h" |
12 #include "base/file_util.h" | 12 #include "base/file_util.h" |
13 #include "base/files/file_enumerator.h" | 13 #include "base/files/file_enumerator.h" |
14 #include "base/message_loop_proxy.h" | 14 #include "base/message_loop/message_loop_proxy.h" |
15 #include "base/platform_file.h" | 15 #include "base/platform_file.h" |
16 #include "base/strings/string_number_conversions.h" | 16 #include "base/strings/string_number_conversions.h" |
17 #include "base/strings/utf_string_conversions.h" | 17 #include "base/strings/utf_string_conversions.h" |
18 #include "net/base/net_errors.h" | 18 #include "net/base/net_errors.h" |
19 #include "sql/connection.h" | 19 #include "sql/connection.h" |
20 #include "sql/meta_table.h" | 20 #include "sql/meta_table.h" |
21 #include "sql/transaction.h" | 21 #include "sql/transaction.h" |
22 #include "third_party/sqlite/sqlite3.h" | 22 #include "third_party/sqlite/sqlite3.h" |
23 #include "webkit/base/origin_url_conversions.h" | 23 #include "webkit/base/origin_url_conversions.h" |
24 #include "webkit/browser/database/database_quota_client.h" | 24 #include "webkit/browser/database/database_quota_client.h" |
(...skipping 846 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
871 if (!db_tracker_thread_->BelongsToCurrentThread()) { | 871 if (!db_tracker_thread_->BelongsToCurrentThread()) { |
872 db_tracker_thread_->PostTask( | 872 db_tracker_thread_->PostTask( |
873 FROM_HERE, | 873 FROM_HERE, |
874 base::Bind(&DatabaseTracker::SetForceKeepSessionState, this)); | 874 base::Bind(&DatabaseTracker::SetForceKeepSessionState, this)); |
875 return; | 875 return; |
876 } | 876 } |
877 force_keep_session_state_ = true; | 877 force_keep_session_state_ = true; |
878 } | 878 } |
879 | 879 |
880 } // namespace webkit_database | 880 } // namespace webkit_database |
OLD | NEW |