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

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

Issue 11359217: Move scoped_temp_dir from base to base/files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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) 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/file_util.h" 5 #include "base/file_util.h"
6 #include "base/files/scoped_temp_dir.h"
6 #include "base/message_loop.h" 7 #include "base/message_loop.h"
7 #include "base/path_service.h" 8 #include "base/path_service.h"
8 #include "base/scoped_temp_dir.h"
9 #include "base/stringprintf.h" 9 #include "base/stringprintf.h"
10 #include "base/time.h" 10 #include "base/time.h"
11 #include "base/utf_string_conversions.h" 11 #include "base/utf_string_conversions.h"
12 #include "chrome/browser/history/shortcuts_backend.h" 12 #include "chrome/browser/history/shortcuts_backend.h"
13 #include "chrome/browser/history/shortcuts_backend_factory.h" 13 #include "chrome/browser/history/shortcuts_backend_factory.h"
14 #include "chrome/browser/history/shortcuts_database.h" 14 #include "chrome/browser/history/shortcuts_database.h"
15 #include "chrome/test/base/testing_profile.h" 15 #include "chrome/test/base/testing_profile.h"
16 #include "content/public/test/test_browser_thread.h" 16 #include "content/public/test/test_browser_thread.h"
17 #include "sql/statement.h" 17 #include "sql/statement.h"
18 18
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 std::vector<std::string> deleted_ids; 166 std::vector<std::string> deleted_ids;
167 deleted_ids.push_back(shortcut3.id); 167 deleted_ids.push_back(shortcut3.id);
168 deleted_ids.push_back(shortcut4.id); 168 deleted_ids.push_back(shortcut4.id);
169 169
170 EXPECT_TRUE(backend_->DeleteShortcutsWithIds(deleted_ids)); 170 EXPECT_TRUE(backend_->DeleteShortcutsWithIds(deleted_ids));
171 171
172 ASSERT_EQ(0U, shortcuts.size()); 172 ASSERT_EQ(0U, shortcuts.size());
173 } 173 }
174 174
175 } // namespace history 175 } // namespace history
OLDNEW
« no previous file with comments | « chrome/browser/history/redirect_browsertest.cc ('k') | chrome/browser/history/shortcuts_database_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698