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

Side by Side Diff: chrome/browser/browsing_data_cookie_helper_unittest.cc

Issue 10500016: Move test_browser_thread.h from content\test to content\public\test. This way we can enforce that i… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 6 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) 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 "chrome/browser/browsing_data_cookie_helper.h" 5 #include "chrome/browser/browsing_data_cookie_helper.h"
6 6
7 7
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "base/synchronization/waitable_event.h" 10 #include "base/synchronization/waitable_event.h"
11 #include "chrome/test/base/testing_profile.h" 11 #include "chrome/test/base/testing_profile.h"
12 #include "content/test/test_browser_thread.h" 12 #include "content/public/test/test_browser_thread.h"
13 #include "net/url_request/url_request_context_getter.h" 13 #include "net/url_request/url_request_context_getter.h"
14 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
15 15
16 using content::BrowserThread; 16 using content::BrowserThread;
17 17
18 namespace { 18 namespace {
19 19
20 class BrowsingDataCookieHelperTest : public testing::Test { 20 class BrowsingDataCookieHelperTest : public testing::Test {
21 public: 21 public:
22 void SetUpOnIOThread(base::WaitableEvent* io_setup_complete) { 22 void SetUpOnIOThread(base::WaitableEvent* io_setup_complete) {
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 net::CookieOptions()); 219 net::CookieOptions());
220 helper->AddChangedCookie(frame2_url, request_url, "c=1", 220 helper->AddChangedCookie(frame2_url, request_url, "c=1",
221 net::CookieOptions()); 221 net::CookieOptions());
222 222
223 helper->StartFetching( 223 helper->StartFetching(
224 base::Bind(&BrowsingDataCookieHelperTest::CannedDifferentFramesCallback, 224 base::Bind(&BrowsingDataCookieHelperTest::CannedDifferentFramesCallback,
225 base::Unretained(this))); 225 base::Unretained(this)));
226 } 226 }
227 227
228 } // namespace 228 } // namespace
OLDNEW
« no previous file with comments | « chrome/browser/browser_commands_unittest.cc ('k') | chrome/browser/browsing_data_database_helper_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698