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

Unified Diff: chrome/browser/browsing_data/cookies_tree_model.cc

Issue 1434633004: Remove const std::string return by std::string (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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/browsing_data/cookies_tree_model.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browsing_data/cookies_tree_model.cc
diff --git a/chrome/browser/browsing_data/cookies_tree_model.cc b/chrome/browser/browsing_data/cookies_tree_model.cc
index bc3b3c5ced1dbcadd0eb4ef06ebed06c7d5ac791..b7715ae70a76ff152cdb046554b56373fbfd931d 100644
--- a/chrome/browser/browsing_data/cookies_tree_model.cc
+++ b/chrome/browser/browsing_data/cookies_tree_model.cc
@@ -641,7 +641,7 @@ CookieTreeHostNode::CookieTreeHostNode(const GURL& url)
CookieTreeHostNode::~CookieTreeHostNode() {}
-const std::string CookieTreeHostNode::GetHost() const {
+std::string CookieTreeHostNode::GetHost() const {
const std::string file_origin_node_name(
std::string(url::kFileScheme) + url::kStandardSchemeSeparator);
return url_.SchemeIsFile() ? file_origin_node_name : url_.host();
« no previous file with comments | « chrome/browser/browsing_data/cookies_tree_model.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698