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 <string> | 5 #include <string> |
6 | 6 |
7 #include "base/basictypes.h" | |
8 #include "base/bind.h" | 7 #include "base/bind.h" |
9 #include "base/bind_helpers.h" | 8 #include "base/bind_helpers.h" |
10 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
11 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
12 #include "base/message_loop/message_loop.h" | 11 #include "base/message_loop/message_loop.h" |
13 #include "base/strings/utf_string_conversions.h" | 12 #include "base/strings/utf_string_conversions.h" |
14 #include "chrome/browser/browsing_data/browsing_data_helper_browsertest.h" | 13 #include "chrome/browser/browsing_data/browsing_data_helper_browsertest.h" |
15 #include "chrome/browser/browsing_data/browsing_data_indexed_db_helper.h" | 14 #include "chrome/browser/browsing_data/browsing_data_indexed_db_helper.h" |
16 #include "chrome/browser/profiles/profile.h" | 15 #include "chrome/browser/profiles/profile.h" |
17 #include "chrome/browser/ui/browser.h" | 16 #include "chrome/browser/ui/browser.h" |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 base::Bind(&TestCompletionCallback::callback, | 70 base::Bind(&TestCompletionCallback::callback, |
72 base::Unretained(&callback))); | 71 base::Unretained(&callback))); |
73 | 72 |
74 std::list<content::IndexedDBInfo> result = | 73 std::list<content::IndexedDBInfo> result = |
75 callback.result(); | 74 callback.result(); |
76 | 75 |
77 ASSERT_EQ(1U, result.size()); | 76 ASSERT_EQ(1U, result.size()); |
78 EXPECT_EQ(origin, result.begin()->origin); | 77 EXPECT_EQ(origin, result.begin()->origin); |
79 } | 78 } |
80 } // namespace | 79 } // namespace |
OLD | NEW |