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 "webkit/database/database_tracker.h" | 5 #include "webkit/database/database_tracker.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "app/sql/connection.h" | |
11 #include "app/sql/diagnostic_error_delegate.h" | |
12 #include "app/sql/meta_table.h" | |
13 #include "app/sql/statement.h" | |
14 #include "app/sql/transaction.h" | |
15 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
16 #include "base/file_util.h" | 11 #include "base/file_util.h" |
17 #include "base/message_loop_proxy.h" | 12 #include "base/message_loop_proxy.h" |
18 #include "base/platform_file.h" | 13 #include "base/platform_file.h" |
19 #include "base/string_number_conversions.h" | 14 #include "base/string_number_conversions.h" |
20 #include "base/utf_string_conversions.h" | 15 #include "base/utf_string_conversions.h" |
21 #include "net/base/net_errors.h" | 16 #include "net/base/net_errors.h" |
| 17 #include "sql/connection.h" |
| 18 #include "sql/diagnostic_error_delegate.h" |
| 19 #include "sql/meta_table.h" |
| 20 #include "sql/statement.h" |
| 21 #include "sql/transaction.h" |
22 #include "webkit/database/database_quota_client.h" | 22 #include "webkit/database/database_quota_client.h" |
23 #include "webkit/database/database_util.h" | 23 #include "webkit/database/database_util.h" |
24 #include "webkit/database/databases_table.h" | 24 #include "webkit/database/databases_table.h" |
25 #include "webkit/quota/quota_manager.h" | 25 #include "webkit/quota/quota_manager.h" |
26 #include "webkit/quota/special_storage_policy.h" | 26 #include "webkit/quota/special_storage_policy.h" |
27 | 27 |
28 namespace { | 28 namespace { |
29 | 29 |
30 class HistogramUniquifier { | 30 class HistogramUniquifier { |
31 public: | 31 public: |
(...skipping 809 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
841 return; | 841 return; |
842 } | 842 } |
843 if (shutting_down_) { | 843 if (shutting_down_) { |
844 NOTREACHED(); | 844 NOTREACHED(); |
845 return; | 845 return; |
846 } | 846 } |
847 clear_local_state_on_exit_ = clear_local_state_on_exit; | 847 clear_local_state_on_exit_ = clear_local_state_on_exit; |
848 } | 848 } |
849 | 849 |
850 } // namespace webkit_database | 850 } // namespace webkit_database |
OLD | NEW |