OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 <stddef.h> | 5 #include <stddef.h> |
6 #include <stdint.h> | 6 #include <stdint.h> |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/files/file.h" | 10 #include "base/files/file.h" |
11 #include "base/files/file_path.h" | 11 #include "base/files/file_path.h" |
12 #include "base/files/file_util.h" | 12 #include "base/files/file_util.h" |
13 #include "base/files/scoped_temp_dir.h" | 13 #include "base/files/scoped_temp_dir.h" |
14 #include "base/message_loop/message_loop.h" | 14 #include "base/message_loop/message_loop.h" |
15 #include "base/strings/utf_string_conversions.h" | 15 #include "base/strings/utf_string_conversions.h" |
16 #include "base/thread_task_runner_handle.h" | 16 #include "base/threading/thread_task_runner_handle.h" |
17 #include "base/time/time.h" | 17 #include "base/time/time.h" |
18 #include "content/public/test/mock_special_storage_policy.h" | 18 #include "content/public/test/mock_special_storage_policy.h" |
19 #include "net/base/net_errors.h" | 19 #include "net/base/net_errors.h" |
20 #include "net/base/test_completion_callback.h" | 20 #include "net/base/test_completion_callback.h" |
21 #include "storage/browser/database/database_tracker.h" | 21 #include "storage/browser/database/database_tracker.h" |
22 #include "storage/browser/quota/quota_manager_proxy.h" | 22 #include "storage/browser/quota/quota_manager_proxy.h" |
23 #include "storage/common/database/database_identifier.h" | 23 #include "storage/common/database/database_identifier.h" |
24 #include "testing/gtest/include/gtest/gtest.h" | 24 #include "testing/gtest/include/gtest/gtest.h" |
25 #include "third_party/sqlite/sqlite3.h" | 25 #include "third_party/sqlite/sqlite3.h" |
26 | 26 |
(...skipping 830 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
857 | 857 |
858 TEST(DatabaseTrackerTest, EmptyDatabaseNameIsValid) { | 858 TEST(DatabaseTrackerTest, EmptyDatabaseNameIsValid) { |
859 DatabaseTracker_TestHelper_Test::EmptyDatabaseNameIsValid(); | 859 DatabaseTracker_TestHelper_Test::EmptyDatabaseNameIsValid(); |
860 } | 860 } |
861 | 861 |
862 TEST(DatabaseTrackerTest, HandleSqliteError) { | 862 TEST(DatabaseTrackerTest, HandleSqliteError) { |
863 DatabaseTracker_TestHelper_Test::HandleSqliteError(); | 863 DatabaseTracker_TestHelper_Test::HandleSqliteError(); |
864 } | 864 } |
865 | 865 |
866 } // namespace content | 866 } // namespace content |
OLD | NEW |