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

Unified Diff: chrome/browser/ui/webui/options/website_settings_handler.h

Issue 505073002: Fix a bug where the resource manager displays Chrome Apps with non-human readable names. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add a clarifying comment. Created 6 years, 4 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/options/website_settings_handler.h
diff --git a/chrome/browser/ui/webui/options/website_settings_handler.h b/chrome/browser/ui/webui/options/website_settings_handler.h
index eebe0a3d3ffdebd2fc5e5743290168875defdf75..98c35b6b410a317cadac7af647e09222e8608108 100644
--- a/chrome/browser/ui/webui/options/website_settings_handler.h
+++ b/chrome/browser/ui/webui/options/website_settings_handler.h
@@ -98,6 +98,9 @@ class WebsiteSettingsHandler : public content_settings::Observer,
// Updates the page with the last settings used.
void Update();
+ // Returns the base URL for websites, or the app name for Chrome App URLs.
+ const std::string& GetReadableName(const GURL& site_url);
+
std::string last_setting_;
std::string last_filter_;
GURL last_site_;
« no previous file with comments | « chrome/browser/resources/options/website_settings.js ('k') | chrome/browser/ui/webui/options/website_settings_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698