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 #ifndef WEBKIT_BROWSER_DATABASE_DATABASE_TRACKER_H_ | 5 #ifndef WEBKIT_BROWSER_DATABASE_DATABASE_TRACKER_H_ |
6 #define WEBKIT_BROWSER_DATABASE_DATABASE_TRACKER_H_ | 6 #define WEBKIT_BROWSER_DATABASE_DATABASE_TRACKER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <utility> | 10 #include <utility> |
11 | 11 |
12 #include "base/files/file_path.h" | 12 #include "base/files/file_path.h" |
13 #include "base/gtest_prod_util.h" | 13 #include "base/gtest_prod_util.h" |
14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
15 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
16 #include "base/observer_list.h" | 16 #include "base/observer_list.h" |
17 #include "base/platform_file.h" | 17 #include "base/platform_file.h" |
18 #include "base/string16.h" | 18 #include "base/strings/string16.h" |
19 #include "base/string_util.h" | 19 #include "base/strings/string_util.h" |
20 #include "base/time.h" | 20 #include "base/time.h" |
21 #include "net/base/completion_callback.h" | 21 #include "net/base/completion_callback.h" |
22 #include "webkit/common/database/database_connections.h" | 22 #include "webkit/common/database/database_connections.h" |
23 #include "webkit/storage/webkit_storage_export.h" | 23 #include "webkit/storage/webkit_storage_export.h" |
24 | 24 |
25 namespace base { | 25 namespace base { |
26 class MessageLoopProxy; | 26 class MessageLoopProxy; |
27 } | 27 } |
28 | 28 |
29 namespace sql { | 29 namespace sql { |
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
303 // this map to assign directory names that do not reveal this information. | 303 // this map to assign directory names that do not reveal this information. |
304 OriginDirectoriesMap incognito_origin_directories_; | 304 OriginDirectoriesMap incognito_origin_directories_; |
305 int incognito_origin_directories_generator_; | 305 int incognito_origin_directories_generator_; |
306 | 306 |
307 FRIEND_TEST_ALL_PREFIXES(DatabaseTracker, TestHelper); | 307 FRIEND_TEST_ALL_PREFIXES(DatabaseTracker, TestHelper); |
308 }; | 308 }; |
309 | 309 |
310 } // namespace webkit_database | 310 } // namespace webkit_database |
311 | 311 |
312 #endif // WEBKIT_BROWSER_DATABASE_DATABASE_TRACKER_H_ | 312 #endif // WEBKIT_BROWSER_DATABASE_DATABASE_TRACKER_H_ |
OLD | NEW |