Chromium Code Reviews

Side by Side Diff: chrome/browser/history/top_sites_unittest.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.
Jump to:
View unified diff | | Annotate | Revision Log
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 "app/l10n_util.h" 5 #include "app/l10n_util.h"
6 #include "base/scoped_temp_dir.h" 6 #include "base/scoped_temp_dir.h"
7 #include "base/string_util.h" 7 #include "base/string_util.h"
8 #include "base/utf_string_conversions.h"
8 #include "chrome/browser/history/top_sites.h" 9 #include "chrome/browser/history/top_sites.h"
9 #include "chrome/common/chrome_paths.h" 10 #include "chrome/common/chrome_paths.h"
10 #include "chrome/browser/dom_ui/most_visited_handler.h" 11 #include "chrome/browser/dom_ui/most_visited_handler.h"
11 #include "chrome/browser/history/history_marshaling.h" 12 #include "chrome/browser/history/history_marshaling.h"
12 #include "chrome/browser/history/top_sites_database.h" 13 #include "chrome/browser/history/top_sites_database.h"
13 #include "chrome/browser/history/history_notifications.h" 14 #include "chrome/browser/history/history_notifications.h"
14 #include "chrome/test/testing_profile.h" 15 #include "chrome/test/testing_profile.h"
15 #include "chrome/tools/profiles/thumbnail-inl.h" 16 #include "chrome/tools/profiles/thumbnail-inl.h"
16 #include "gfx/codec/jpeg_codec.h" 17 #include "gfx/codec/jpeg_codec.h"
17 #include "googleurl/src/gurl.h" 18 #include "googleurl/src/gurl.h"
(...skipping 1294 matching lines...)
1312 1313
1313 top_sites().RemoveBlacklistedURL(store_url); 1314 top_sites().RemoveBlacklistedURL(store_url);
1314 EXPECT_EQ(6, top_sites().GetIndexForChromeStore(pages)); 1315 EXPECT_EQ(6, top_sites().GetIndexForChromeStore(pages));
1315 1316
1316 top_sites().AddPinnedURL(GURL("http://bbc.com"), 2); 1317 top_sites().AddPinnedURL(GURL("http://bbc.com"), 2);
1317 // All pinned - can't add store. 1318 // All pinned - can't add store.
1318 EXPECT_EQ(-1, top_sites().GetIndexForChromeStore(pages)); 1319 EXPECT_EQ(-1, top_sites().GetIndexForChromeStore(pages));
1319 } 1320 }
1320 1321
1321 } // namespace history 1322 } // namespace history
OLDNEW
« no previous file with comments | « chrome/browser/history/history_publisher_win.cc ('k') | chrome/browser/importer/importer_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine