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

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

Issue 3058027: Add #include utf_string_conversions.h to all files that use ASCIIToWide and... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/browser_main_win.cc ('k') | chrome/browser/character_encoding.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/utf_string_conversions.h"
5 #include "chrome/browser/browsing_data_database_helper.h" 6 #include "chrome/browser/browsing_data_database_helper.h"
6 #include "chrome/test/in_process_browser_test.h" 7 #include "chrome/test/in_process_browser_test.h"
7 #include "chrome/test/testing_profile.h" 8 #include "chrome/test/testing_profile.h"
8 #include "chrome/test/ui_test_utils.h" 9 #include "chrome/test/ui_test_utils.h"
9 10
10 static const char kTestIdentifier1[] = "http_www.google.com_0"; 11 static const char kTestIdentifier1[] = "http_www.google.com_0";
11 12
12 static const char kTestIdentifierExtension[] = 13 static const char kTestIdentifierExtension[] =
13 "chrome-extension_behllobkkfkfnphdnhnkndlbkcpglgmj_0"; 14 "chrome-extension_behllobkkfkfnphdnhnkndlbkcpglgmj_0";
14 15
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 IN_PROC_BROWSER_TEST_F(BrowsingDataDatabaseHelperTest, FetchData) { 72 IN_PROC_BROWSER_TEST_F(BrowsingDataDatabaseHelperTest, FetchData) {
72 CreateDatabases(); 73 CreateDatabases();
73 scoped_refptr<BrowsingDataDatabaseHelper> database_helper( 74 scoped_refptr<BrowsingDataDatabaseHelper> database_helper(
74 new BrowsingDataDatabaseHelper(&testing_profile_)); 75 new BrowsingDataDatabaseHelper(&testing_profile_));
75 StopTestOnCallback stop_test_on_callback(database_helper); 76 StopTestOnCallback stop_test_on_callback(database_helper);
76 database_helper->StartFetching( 77 database_helper->StartFetching(
77 NewCallback(&stop_test_on_callback, &StopTestOnCallback::Callback)); 78 NewCallback(&stop_test_on_callback, &StopTestOnCallback::Callback));
78 // Blocks until StopTestOnCallback::Callback is notified. 79 // Blocks until StopTestOnCallback::Callback is notified.
79 ui_test_utils::RunMessageLoop(); 80 ui_test_utils::RunMessageLoop();
80 } 81 }
OLDNEW
« no previous file with comments | « chrome/browser/browser_main_win.cc ('k') | chrome/browser/character_encoding.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698