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

Unified Diff: content/browser/webui/web_ui_data_source_impl.h

Issue 2399553002: Gzip compress chrome://accessibility resources (Closed)
Patch Set: showing agrieve@ what didn't work Created 4 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
Index: content/browser/webui/web_ui_data_source_impl.h
diff --git a/content/browser/webui/web_ui_data_source_impl.h b/content/browser/webui/web_ui_data_source_impl.h
index 64515feeff5f4e0d0665a1d18b9dc24ce18ac94d..0ddbd488c6b88e5e2adaf95bf379a929f64870b4 100644
--- a/content/browser/webui/web_ui_data_source_impl.h
+++ b/content/browser/webui/web_ui_data_source_impl.h
@@ -78,6 +78,8 @@ class CONTENT_EXPORT WebUIDataSourceImpl
add_load_time_data_defaults_ = false;
}
+ int GetResourceIdFromPath(const std::string& path) const;
+
// The name of this source.
// E.g., for favicons, this could be "favicon", which results in paths for
// specific resources like "favicon/34" getting sent to this source.

Powered by Google App Engine
This is Rietveld 408576698