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

Side by Side Diff: chrome/browser/autocomplete/history_url_provider_unittest.cc

Issue 3129007: FBTF: Forward declare everything possible in testing_profile.h (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: argh mac problems now 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
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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/file_util.h" 5 #include "base/file_util.h"
6 #include "base/message_loop.h" 6 #include "base/message_loop.h"
7 #include "base/path_service.h" 7 #include "base/path_service.h"
8 #include "base/string_util.h" 8 #include "base/string_util.h"
9 #include "base/utf_string_conversions.h"
9 #include "chrome/browser/autocomplete/history_url_provider.h" 10 #include "chrome/browser/autocomplete/history_url_provider.h"
10 #include "chrome/browser/chrome_thread.h" 11 #include "chrome/browser/chrome_thread.h"
11 #include "chrome/browser/history/history.h" 12 #include "chrome/browser/history/history.h"
12 #include "chrome/test/testing_profile.h" 13 #include "chrome/test/testing_profile.h"
13 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
14 #if defined(OS_MACOSX) 15 #if defined(OS_MACOSX)
15 #include "base/mac_util.h" 16 #include "base/mac_util.h"
16 #endif 17 #endif
17 18
18 using base::Time; 19 using base::Time;
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after
413 std::string navigation_1[] = {"http://test.com/"}; 414 std::string navigation_1[] = {"http://test.com/"};
414 RunTest(L"test.com", std::wstring(), false, navigation_1, 415 RunTest(L"test.com", std::wstring(), false, navigation_1,
415 arraysize(navigation_1)); 416 arraysize(navigation_1));
416 417
417 std::string navigation_2[] = {"http://slash/"}; 418 std::string navigation_2[] = {"http://slash/"};
418 RunTest(L"slash", std::wstring(), false, navigation_2, 419 RunTest(L"slash", std::wstring(), false, navigation_2,
419 arraysize(navigation_2)); 420 arraysize(navigation_2));
420 421
421 RunTest(L"this is a query", std::wstring(), false, NULL, 0); 422 RunTest(L"this is a query", std::wstring(), false, NULL, 0);
422 } 423 }
OLDNEW
« no previous file with comments | « chrome/browser/autocomplete/history_contents_provider_unittest.cc ('k') | chrome/browser/bookmarks/bookmark_model_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698