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

Unified Diff: chrome/browser/ui/webui/cookies_tree_model_util.cc

Issue 10785017: Move CanonicalCookie into separate files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added missing include Created 8 years, 5 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
Index: chrome/browser/ui/webui/cookies_tree_model_util.cc
diff --git a/chrome/browser/ui/webui/cookies_tree_model_util.cc b/chrome/browser/ui/webui/cookies_tree_model_util.cc
index 7607c98fd0865dd39dde44da30b41802742b3d96..b257b398a799f36a5e700cdd0f5c67151a203c0e 100644
--- a/chrome/browser/ui/webui/cookies_tree_model_util.cc
+++ b/chrome/browser/ui/webui/cookies_tree_model_util.cc
@@ -14,6 +14,7 @@
#include "base/values.h"
#include "chrome/browser/cookies_tree_model.h"
#include "grit/generated_resources.h"
+#include "net/cookies/canonical_cookie.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/text/bytes_formatting.h"
@@ -107,8 +108,7 @@ bool CookiesTreeModelUtil::GetCookieTreeNodeDictionary(
dict->SetString(kKeyType, "cookie");
dict->SetString(kKeyIcon, "chrome://theme/IDR_COOKIE_ICON");
- const net::CookieMonster::CanonicalCookie& cookie =
- *node.GetDetailedInfo().cookie;
+ const net::CanonicalCookie& cookie = *node.GetDetailedInfo().cookie;
dict->SetString(kKeyName, cookie.Name());
dict->SetString(kKeyContent, cookie.Value());

Powered by Google App Engine
This is Rietveld 408576698