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

Unified Diff: net/base/cookie_monster.cc

Issue 8965046: Coverity: Fixing pass by value bugs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixing 100534 Created 9 years 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 | « chrome/browser/extensions/apps_promo.cc ('k') | ppapi/cpp/dev/video_decoder_dev.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/cookie_monster.cc
diff --git a/net/base/cookie_monster.cc b/net/base/cookie_monster.cc
index 44b110e55e537d76dde000f4fbc1bec90d6b2d99..f0bddf62f19cbdc32633d0a78fa3beaa1f7278b9 100644
--- a/net/base/cookie_monster.cc
+++ b/net/base/cookie_monster.cc
@@ -828,7 +828,7 @@ class CookieMonster::GetCookiesWithOptionsTask
: public CookieMonster::CookieMonsterTask {
public:
GetCookiesWithOptionsTask(CookieMonster* cookie_monster,
- GURL url,
+ const GURL& url,
const CookieOptions& options,
const CookieMonster::GetCookiesCallback& callback)
: CookieMonsterTask(cookie_monster),
@@ -895,7 +895,7 @@ class CookieMonster::DeleteCookieTask
: public CookieMonster::CookieMonsterTask {
public:
DeleteCookieTask(CookieMonster* cookie_monster,
- GURL url,
+ const GURL& url,
const std::string& cookie_name,
const base::Closure& callback)
: CookieMonsterTask(cookie_monster),
« no previous file with comments | « chrome/browser/extensions/apps_promo.cc ('k') | ppapi/cpp/dev/video_decoder_dev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698