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 #include "chrome/browser/browsing_data/browsing_data_indexed_db_helper.h" | 5 #include "chrome/browser/browsing_data/browsing_data_indexed_db_helper.h" |
6 | 6 |
7 #include "base/message_loop/message_loop_proxy.h" | 7 #include "base/message_loop/message_loop_proxy.h" |
8 #include "base/strings/utf_string_conversions.h" | 8 #include "base/strings/utf_string_conversions.h" |
9 #include "chrome/test/base/testing_profile.h" | 9 #include "chrome/test/base/testing_profile.h" |
10 #include "content/public/browser/browser_context.h" | 10 #include "content/public/browser/browser_context.h" |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 scoped_refptr<CannedBrowsingDataIndexedDBHelper> helper( | 73 scoped_refptr<CannedBrowsingDataIndexedDBHelper> helper( |
74 new CannedBrowsingDataIndexedDBHelper(IndexedDBContext())); | 74 new CannedBrowsingDataIndexedDBHelper(IndexedDBContext())); |
75 | 75 |
76 ASSERT_TRUE(helper->empty()); | 76 ASSERT_TRUE(helper->empty()); |
77 helper->AddIndexedDB(origin1, description); | 77 helper->AddIndexedDB(origin1, description); |
78 ASSERT_TRUE(helper->empty()); | 78 ASSERT_TRUE(helper->empty()); |
79 helper->AddIndexedDB(origin2, description); | 79 helper->AddIndexedDB(origin2, description); |
80 ASSERT_TRUE(helper->empty()); | 80 ASSERT_TRUE(helper->empty()); |
81 } | 81 } |
82 | 82 |
83 } // namespace | 83 } // namespace |
OLD | NEW |