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

Side by Side Diff: chrome/browser/net/sqlite_persistent_cookie_store_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 "base/file_util.h" 5 #include "base/file_util.h"
6 #include "base/memory/ref_counted.h" 6 #include "base/memory/ref_counted.h"
7 #include "base/memory/scoped_temp_dir.h"
8 #include "base/message_loop.h" 7 #include "base/message_loop.h"
8 #include "base/scoped_temp_dir.h"
9 #include "base/stl_util-inl.h" 9 #include "base/stl_util-inl.h"
10 #include "base/time.h" 10 #include "base/time.h"
11 #include "chrome/browser/net/sqlite_persistent_cookie_store.h" 11 #include "chrome/browser/net/sqlite_persistent_cookie_store.h"
12 #include "chrome/common/chrome_constants.h" 12 #include "chrome/common/chrome_constants.h"
13 #include "chrome/test/thread_test_helper.h" 13 #include "chrome/test/thread_test_helper.h"
14 #include "content/browser/browser_thread.h" 14 #include "content/browser/browser_thread.h"
15 #include "googleurl/src/gurl.h" 15 #include "googleurl/src/gurl.h"
16 #include "testing/gtest/include/gtest/gtest.h" 16 #include "testing/gtest/include/gtest/gtest.h"
17 17
18 class SQLitePersistentCookieStoreTest : public testing::Test { 18 class SQLitePersistentCookieStoreTest : public testing::Test {
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 ASSERT_EQ(0, counter->callback_count()); 173 ASSERT_EQ(0, counter->callback_count());
174 174
175 store_->Flush(NewRunnableMethod(counter.get(), &CallbackCounter::Callback)); 175 store_->Flush(NewRunnableMethod(counter.get(), &CallbackCounter::Callback));
176 176
177 scoped_refptr<ThreadTestHelper> helper( 177 scoped_refptr<ThreadTestHelper> helper(
178 new ThreadTestHelper(BrowserThread::DB)); 178 new ThreadTestHelper(BrowserThread::DB));
179 ASSERT_TRUE(helper->Run()); 179 ASSERT_TRUE(helper->Run());
180 180
181 ASSERT_EQ(1, counter->callback_count()); 181 ASSERT_EQ(1, counter->callback_count());
182 } 182 }
OLDNEW
« no previous file with comments | « chrome/browser/importer/importer_unittest.cc ('k') | chrome/browser/parsers/metadata_parser_filebase_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698