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

Unified Diff: chrome/browser/extensions/api/cookies/cookies_api.cc

Issue 1392973005: Get rid of CookieMonster::Delegate typedef. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 | chrome/browser/extensions/extension_cookie_monster_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/cookies/cookies_api.cc
diff --git a/chrome/browser/extensions/api/cookies/cookies_api.cc b/chrome/browser/extensions/api/cookies/cookies_api.cc
index e9a502525025a131fc37f082b5ac48536965ef2a..8f020919d9ee61dab4fc592f87ab4dad426de9de 100644
--- a/chrome/browser/extensions/api/cookies/cookies_api.cc
+++ b/chrome/browser/extensions/api/cookies/cookies_api.cc
@@ -148,23 +148,23 @@ void CookiesEventRouter::CookieChanged(
// Map the internal cause to an external string.
std::string cause;
switch (details->cause) {
- case net::CookieMonster::Delegate::CHANGE_COOKIE_EXPLICIT:
+ case net::CookieMonsterDelegate::CHANGE_COOKIE_EXPLICIT:
cause = keys::kExplicitChangeCause;
break;
- case net::CookieMonster::Delegate::CHANGE_COOKIE_OVERWRITE:
+ case net::CookieMonsterDelegate::CHANGE_COOKIE_OVERWRITE:
cause = keys::kOverwriteChangeCause;
break;
- case net::CookieMonster::Delegate::CHANGE_COOKIE_EXPIRED:
+ case net::CookieMonsterDelegate::CHANGE_COOKIE_EXPIRED:
cause = keys::kExpiredChangeCause;
break;
- case net::CookieMonster::Delegate::CHANGE_COOKIE_EVICTED:
+ case net::CookieMonsterDelegate::CHANGE_COOKIE_EVICTED:
cause = keys::kEvictedChangeCause;
break;
- case net::CookieMonster::Delegate::CHANGE_COOKIE_EXPIRED_OVERWRITE:
+ case net::CookieMonsterDelegate::CHANGE_COOKIE_EXPIRED_OVERWRITE:
cause = keys::kExpiredOverwriteChangeCause;
break;
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_cookie_monster_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698