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

Side by Side Diff: chrome/browser/history/thumbnail_database_unittest.cc

Issue 7048007: Move scoped_temp_dir and scoped_native_library back from base/memory to base. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: unknwn Created 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 <algorithm> 5 #include <algorithm>
6 #include <vector> 6 #include <vector>
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/file_path.h" 10 #include "base/file_path.h"
11 #include "base/file_util.h" 11 #include "base/file_util.h"
12 #include "base/memory/ref_counted_memory.h" 12 #include "base/memory/ref_counted_memory.h"
13 #include "base/memory/scoped_temp_dir.h"
14 #include "base/path_service.h" 13 #include "base/path_service.h"
14 #include "base/scoped_temp_dir.h"
15 #include "chrome/browser/history/history_database.h" 15 #include "chrome/browser/history/history_database.h"
16 #include "chrome/browser/history/history_unittest_base.h" 16 #include "chrome/browser/history/history_unittest_base.h"
17 #include "chrome/browser/history/thumbnail_database.h" 17 #include "chrome/browser/history/thumbnail_database.h"
18 #include "chrome/common/chrome_constants.h" 18 #include "chrome/common/chrome_constants.h"
19 #include "chrome/common/chrome_paths.h" 19 #include "chrome/common/chrome_paths.h"
20 #include "chrome/common/thumbnail_score.h" 20 #include "chrome/common/thumbnail_score.h"
21 #include "chrome/test/testing_profile.h" 21 #include "chrome/test/testing_profile.h"
22 #include "chrome/tools/profiles/thumbnail-inl.h" 22 #include "chrome/tools/profiles/thumbnail-inl.h"
23 #include "googleurl/src/gurl.h" 23 #include "googleurl/src/gurl.h"
24 #include "testing/gtest/include/gtest/gtest.h" 24 #include "testing/gtest/include/gtest/gtest.h"
(...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after
453 ASSERT_TRUE(db.GetFavicon( 453 ASSERT_TRUE(db.GetFavicon(
454 icon_mappings[0].icon_id, &time, &out_data, &out_icon_url)); 454 icon_mappings[0].icon_id, &time, &out_data, &out_icon_url));
455 EXPECT_EQ(icon2, out_icon_url); 455 EXPECT_EQ(icon2, out_icon_url);
456 456
457 // Test a page without icon 457 // Test a page without icon
458 GURL page_url4 = GURL("http://www.google.com/blank.html"); 458 GURL page_url4 = GURL("http://www.google.com/blank.html");
459 EXPECT_FALSE(db.GetIconMappingsForPageURL(page_url4, NULL)); 459 EXPECT_FALSE(db.GetIconMappingsForPageURL(page_url4, NULL));
460 } 460 }
461 461
462 } // namespace history 462 } // namespace history
OLDNEW
« no previous file with comments | « chrome/browser/history/text_database_unittest.cc ('k') | chrome/browser/history/top_sites_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698