Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(411)

Side by Side Diff: content/browser/database_tracker_unittest.cc

Issue 559063002: Remove webkit/browser/, point everything to storage/browser/ instead (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clean up DEPS per feedback Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 "base/files/file.h" 5 #include "base/files/file.h"
6 #include "base/files/file_path.h" 6 #include "base/files/file_path.h"
7 #include "base/files/file_util.h" 7 #include "base/files/file_util.h"
8 #include "base/files/scoped_temp_dir.h" 8 #include "base/files/scoped_temp_dir.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/message_loop/message_loop.h" 10 #include "base/message_loop/message_loop.h"
11 #include "base/message_loop/message_loop_proxy.h" 11 #include "base/message_loop/message_loop_proxy.h"
12 #include "base/strings/utf_string_conversions.h" 12 #include "base/strings/utf_string_conversions.h"
13 #include "base/time/time.h" 13 #include "base/time/time.h"
14 #include "content/public/test/mock_special_storage_policy.h" 14 #include "content/public/test/mock_special_storage_policy.h"
15 #include "net/base/net_errors.h" 15 #include "net/base/net_errors.h"
16 #include "net/base/test_completion_callback.h" 16 #include "net/base/test_completion_callback.h"
17 #include "storage/browser/database/database_tracker.h"
18 #include "storage/browser/quota/quota_manager_proxy.h"
17 #include "storage/common/database/database_identifier.h" 19 #include "storage/common/database/database_identifier.h"
18 #include "testing/gtest/include/gtest/gtest.h" 20 #include "testing/gtest/include/gtest/gtest.h"
19 #include "third_party/sqlite/sqlite3.h" 21 #include "third_party/sqlite/sqlite3.h"
20 #include "webkit/browser/database/database_tracker.h"
21 #include "webkit/browser/quota/quota_manager_proxy.h"
22 22
23 using base::ASCIIToUTF16; 23 using base::ASCIIToUTF16;
24 using storage::DatabaseConnections; 24 using storage::DatabaseConnections;
25 using storage::DatabaseTracker; 25 using storage::DatabaseTracker;
26 using storage::OriginInfo; 26 using storage::OriginInfo;
27 27
28 namespace { 28 namespace {
29 29
30 const char kOrigin1Url[] = "http://origin1"; 30 const char kOrigin1Url[] = "http://origin1";
31 const char kOrigin2Url[] = "http://protected_origin2"; 31 const char kOrigin2Url[] = "http://protected_origin2";
(...skipping 831 matching lines...) Expand 10 before | Expand all | Expand 10 after
863 863
864 TEST(DatabaseTrackerTest, EmptyDatabaseNameIsValid) { 864 TEST(DatabaseTrackerTest, EmptyDatabaseNameIsValid) {
865 DatabaseTracker_TestHelper_Test::EmptyDatabaseNameIsValid(); 865 DatabaseTracker_TestHelper_Test::EmptyDatabaseNameIsValid();
866 } 866 }
867 867
868 TEST(DatabaseTrackerTest, HandleSqliteError) { 868 TEST(DatabaseTrackerTest, HandleSqliteError) {
869 DatabaseTracker_TestHelper_Test::HandleSqliteError(); 869 DatabaseTracker_TestHelper_Test::HandleSqliteError();
870 } 870 }
871 871
872 } // namespace content 872 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/database_quota_client_unittest.cc ('k') | content/browser/database_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698