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

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

Issue 1868: Moves bookmark related classes into bookmarks directory. There are no... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years, 3 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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/path_service.h" 6 #include "base/path_service.h"
7 #include "base/scoped_ptr.h" 7 #include "base/scoped_ptr.h"
8 #include "chrome/browser/bookmark_bar_model.h" 8 #include "chrome/browser/bookmarks/bookmark_bar_model.h"
9 #include "chrome/browser/history/history_backend.h" 9 #include "chrome/browser/history/history_backend.h"
10 #include "chrome/browser/history/in_memory_history_backend.h" 10 #include "chrome/browser/history/in_memory_history_backend.h"
11 #include "chrome/browser/history/in_memory_database.h" 11 #include "chrome/browser/history/in_memory_database.h"
12 #include "chrome/common/jpeg_codec.h" 12 #include "chrome/common/jpeg_codec.h"
13 #include "chrome/common/thumbnail_score.h" 13 #include "chrome/common/thumbnail_score.h"
14 #include "chrome/tools/profiles/thumbnail-inl.h" 14 #include "chrome/tools/profiles/thumbnail-inl.h"
15 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
16 16
17 // This file only tests functionality where it is most convenient to call the 17 // This file only tests functionality where it is most convenient to call the
18 // backend directly. Most of the history backend functions are tested by the 18 // backend directly. Most of the history backend functions are tested by the
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 // distracted by the second chain and should return the thumbnail 379 // distracted by the second chain and should return the thumbnail
380 // attached to thumbnail_url_. 380 // attached to thumbnail_url_.
381 scoped_refptr<RefCountedBytes> data; 381 scoped_refptr<RefCountedBytes> data;
382 backend_->GetPageThumbnailDirectly(GURL(base_url), &data); 382 backend_->GetPageThumbnailDirectly(GURL(base_url), &data);
383 383
384 EXPECT_TRUE(data.get()); 384 EXPECT_TRUE(data.get());
385 } 385 }
386 386
387 } // namespace history 387 } // namespace history
388 388
OLDNEW
« no previous file with comments | « chrome/browser/history/expire_history_backend_unittest.cc ('k') | chrome/browser/history/starred_url_database.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698