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

Unified Diff: net/base/cookie_monster_store_test.h

Issue 7831056: Fix a memory leak in a unit test. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/base/cookie_monster_store_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/cookie_monster_store_test.h
===================================================================
--- net/base/cookie_monster_store_test.h (revision 100188)
+++ net/base/cookie_monster_store_test.h (working copy)
@@ -109,6 +109,12 @@
DISALLOW_COPY_AND_ASSIGN(MockCookieMonsterDelegate);
};
+// Helper to build a single CanonicalCookie.
+CookieMonster::CanonicalCookie BuildCanonicalCookie(
+ const std::string& key,
+ const std::string& cookie_line,
+ const base::Time& creation_time);
+
// Helper to build a list of CanonicalCookie*s.
void AddCookieToList(
const std::string& key,
« no previous file with comments | « no previous file | net/base/cookie_monster_store_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698