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

Side by Side Diff: net/cookies/cookie_store_test_helpers.cc

Issue 13145003: Rewrite std::string("") to std::string(), Linux edition. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Ugh Created 7 years, 8 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
« no previous file with comments | « net/cookies/cookie_monster_unittest.cc ('k') | net/cookies/cookie_store_unittest.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "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
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
OLDNEW
« no previous file with comments | « net/cookies/cookie_monster_unittest.cc ('k') | net/cookies/cookie_store_unittest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698