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 STORAGE_BROWSER_DATABASE_DATABASE_TRACKER_H_ |
6 #define WEBKIT_BROWSER_DATABASE_DATABASE_TRACKER_H_ | 6 #define STORAGE_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.h" | 12 #include "base/files/file.h" |
13 #include "base/files/file_path.h" | 13 #include "base/files/file_path.h" |
14 #include "base/gtest_prod_util.h" | 14 #include "base/gtest_prod_util.h" |
15 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
16 #include "base/memory/scoped_ptr.h" | 16 #include "base/memory/scoped_ptr.h" |
17 #include "base/observer_list.h" | 17 #include "base/observer_list.h" |
18 #include "base/strings/string16.h" | 18 #include "base/strings/string16.h" |
19 #include "base/strings/string_util.h" | 19 #include "base/strings/string_util.h" |
20 #include "base/time/time.h" | 20 #include "base/time/time.h" |
21 #include "net/base/completion_callback.h" | 21 #include "net/base/completion_callback.h" |
22 #include "webkit/browser/storage_browser_export.h" | 22 #include "storage/browser/storage_browser_export.h" |
23 #include "webkit/common/database/database_connections.h" | 23 #include "storage/common/database/database_connections.h" |
24 | 24 |
25 namespace base { | 25 namespace base { |
26 class MessageLoopProxy; | 26 class MessageLoopProxy; |
27 } | 27 } |
28 | 28 |
29 namespace content { | 29 namespace content { |
30 class DatabaseTracker_TestHelper_Test; | 30 class DatabaseTracker_TestHelper_Test; |
31 class MockDatabaseTracker; | 31 class MockDatabaseTracker; |
32 } | 32 } |
33 | 33 |
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
309 // browser process crashes and those directories are not deleted). So we use | 309 // browser process crashes and those directories are not deleted). So we use |
310 // this map to assign directory names that do not reveal this information. | 310 // this map to assign directory names that do not reveal this information. |
311 OriginDirectoriesMap incognito_origin_directories_; | 311 OriginDirectoriesMap incognito_origin_directories_; |
312 int incognito_origin_directories_generator_; | 312 int incognito_origin_directories_generator_; |
313 | 313 |
314 FRIEND_TEST_ALL_PREFIXES(DatabaseTracker, TestHelper); | 314 FRIEND_TEST_ALL_PREFIXES(DatabaseTracker, TestHelper); |
315 }; | 315 }; |
316 | 316 |
317 } // namespace storage | 317 } // namespace storage |
318 | 318 |
319 #endif // WEBKIT_BROWSER_DATABASE_DATABASE_TRACKER_H_ | 319 #endif // STORAGE_BROWSER_DATABASE_DATABASE_TRACKER_H_ |
OLD | NEW |