OLD | NEW |
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/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/public/test/test_browser_thread.h" | 12 #include "content/public/test/test_browser_thread.h" |
13 #include "net/cookies/canonical_cookie.h" | 13 #include "net/cookies/canonical_cookie.h" |
14 #include "net/cookies/parsed_cookie.h" | 14 #include "net/cookies/parsed_cookie.h" |
15 #include "net/url_request/url_request_context_getter.h" | 15 #include "net/url_request/url_request_context_getter.h" |
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
224 net::CookieOptions()); | 224 net::CookieOptions()); |
225 helper->AddChangedCookie(frame2_url, request_url, "c=1", | 225 helper->AddChangedCookie(frame2_url, request_url, "c=1", |
226 net::CookieOptions()); | 226 net::CookieOptions()); |
227 | 227 |
228 helper->StartFetching( | 228 helper->StartFetching( |
229 base::Bind(&BrowsingDataCookieHelperTest::CannedDifferentFramesCallback, | 229 base::Bind(&BrowsingDataCookieHelperTest::CannedDifferentFramesCallback, |
230 base::Unretained(this))); | 230 base::Unretained(this))); |
231 } | 231 } |
232 | 232 |
233 } // namespace | 233 } // namespace |
OLD | NEW |