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

Side by Side Diff: chrome/browser/ui/bookmarks/bookmark_browsertest.cc

Issue 11017015: bookmarks: Move browsertest into ui/bookmarks directory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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/bookmarks/bookmark_browsertest.cc ('k') | chrome/chrome_tests.gypi » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/bind.h" 5 #include "base/bind.h"
6 #include "base/timer.h" 6 #include "base/timer.h"
7 #include "base/utf_string_conversions.h" 7 #include "base/utf_string_conversions.h"
8 #include "chrome/app/chrome_command_ids.h" 8 #include "chrome/app/chrome_command_ids.h"
9 #include "chrome/browser/bookmarks/bookmark_model.h" 9 #include "chrome/browser/bookmarks/bookmark_model.h"
10 #include "chrome/browser/bookmarks/bookmark_model_factory.h" 10 #include "chrome/browser/bookmarks/bookmark_model_factory.h"
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 bookmark_model1, GURL(kPersistBookmarkURL), 120 bookmark_model1, GURL(kPersistBookmarkURL),
121 ASCIIToUTF16(kPersistBookmarkTitle)); 121 ASCIIToUTF16(kPersistBookmarkTitle));
122 std::vector<BookmarkService::URLAndTitle> urls1, urls2; 122 std::vector<BookmarkService::URLAndTitle> urls1, urls2;
123 bookmark_model1->GetBookmarks(&urls1); 123 bookmark_model1->GetBookmarks(&urls1);
124 bookmark_model2->GetBookmarks(&urls2); 124 bookmark_model2->GetBookmarks(&urls2);
125 ASSERT_EQ(1u, urls1.size()); 125 ASSERT_EQ(1u, urls1.size());
126 ASSERT_TRUE(urls2.empty()); 126 ASSERT_TRUE(urls2.empty());
127 } 127 }
128 128
129 #endif 129 #endif
OLDNEW
« no previous file with comments | « chrome/browser/bookmarks/bookmark_browsertest.cc ('k') | chrome/chrome_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698