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

Side by Side Diff: chrome/browser/browsing_data/browsing_data_database_helper_browsertest.cc

Issue 2876013002: Add missing IWYU message_loop.h includes. (Closed)
Patch Set: fix upstream Created 3 years, 7 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 (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 <stdint.h> 5 #include <stdint.h>
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 #include "base/files/file_util.h" 9 #include "base/files/file_util.h"
10 #include "base/message_loop/message_loop.h"
10 #include "base/strings/utf_string_conversions.h" 11 #include "base/strings/utf_string_conversions.h"
11 #include "chrome/browser/browsing_data/browsing_data_database_helper.h" 12 #include "chrome/browser/browsing_data/browsing_data_database_helper.h"
12 #include "chrome/browser/browsing_data/browsing_data_helper_browsertest.h" 13 #include "chrome/browser/browsing_data/browsing_data_helper_browsertest.h"
13 #include "chrome/browser/profiles/profile.h" 14 #include "chrome/browser/profiles/profile.h"
14 #include "chrome/browser/ui/browser.h" 15 #include "chrome/browser/ui/browser.h"
15 #include "chrome/test/base/in_process_browser_test.h" 16 #include "chrome/test/base/in_process_browser_test.h"
16 #include "content/public/browser/storage_partition.h" 17 #include "content/public/browser/storage_partition.h"
17 #include "content/public/test/test_browser_thread.h" 18 #include "content/public/test/test_browser_thread.h"
18 #include "content/public/test/test_utils.h" 19 #include "content/public/test/test_utils.h"
19 20
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 base::Unretained(&callback))); 146 base::Unretained(&callback)));
146 147
147 std::list<BrowsingDataDatabaseHelper::DatabaseInfo> result = 148 std::list<BrowsingDataDatabaseHelper::DatabaseInfo> result =
148 callback.result(); 149 callback.result();
149 150
150 ASSERT_EQ(1u, result.size()); 151 ASSERT_EQ(1u, result.size());
151 EXPECT_EQ(origin_str, result.begin()->identifier.ToString()); 152 EXPECT_EQ(origin_str, result.begin()->identifier.ToString());
152 EXPECT_STREQ(db, result.begin()->database_name.c_str()); 153 EXPECT_STREQ(db, result.begin()->database_name.c_str());
153 } 154 }
154 } // namespace 155 } // namespace
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698