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 "net/cookies/cookie_store_test_helpers.h" | 5 #include "net/cookies/cookie_store_test_helpers.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/message_loop.h" | 8 #include "base/message_loop.h" |
9 | 9 |
10 namespace net { | 10 namespace net { |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 const std::string& cookie_line, | 83 const std::string& cookie_line, |
84 const CookieOptions& options) { | 84 const CookieOptions& options) { |
85 ADD_FAILURE(); | 85 ADD_FAILURE(); |
86 return false; | 86 return false; |
87 } | 87 } |
88 | 88 |
89 std::string DelayedCookieMonster::GetCookiesWithOptions( | 89 std::string DelayedCookieMonster::GetCookiesWithOptions( |
90 const GURL& url, | 90 const GURL& url, |
91 const CookieOptions& options) { | 91 const CookieOptions& options) { |
92 ADD_FAILURE(); | 92 ADD_FAILURE(); |
93 return ""; | 93 return std::string(); |
94 } | 94 } |
95 | 95 |
96 void DelayedCookieMonster::DeleteCookie(const GURL& url, | 96 void DelayedCookieMonster::DeleteCookie(const GURL& url, |
97 const std::string& cookie_name) { | 97 const std::string& cookie_name) { |
98 ADD_FAILURE(); | 98 ADD_FAILURE(); |
99 } | 99 } |
100 | 100 |
101 void DelayedCookieMonster::DeleteCookieAsync(const GURL& url, | 101 void DelayedCookieMonster::DeleteCookieAsync(const GURL& url, |
102 const std::string& cookie_name, | 102 const std::string& cookie_name, |
103 const base::Closure& callback) { | 103 const base::Closure& callback) { |
104 ADD_FAILURE(); | 104 ADD_FAILURE(); |
105 } | 105 } |
106 | 106 |
107 void DelayedCookieMonster::DeleteAllCreatedBetweenAsync( | 107 void DelayedCookieMonster::DeleteAllCreatedBetweenAsync( |
108 const base::Time& delete_begin, | 108 const base::Time& delete_begin, |
109 const base::Time& delete_end, | 109 const base::Time& delete_end, |
110 const DeleteCallback& callback) { | 110 const DeleteCallback& callback) { |
111 ADD_FAILURE(); | 111 ADD_FAILURE(); |
112 } | 112 } |
113 | 113 |
114 void DelayedCookieMonster::DeleteSessionCookiesAsync(const DeleteCallback&) { | 114 void DelayedCookieMonster::DeleteSessionCookiesAsync(const DeleteCallback&) { |
115 ADD_FAILURE(); | 115 ADD_FAILURE(); |
116 } | 116 } |
117 | 117 |
118 CookieMonster* DelayedCookieMonster::GetCookieMonster() { | 118 CookieMonster* DelayedCookieMonster::GetCookieMonster() { |
119 return cookie_monster_; | 119 return cookie_monster_; |
120 } | 120 } |
121 | 121 |
122 } // namespace net | 122 } // namespace net |
OLD | NEW |