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

Unified Diff: content/public/renderer/content_renderer_client.h

Issue 936413003: Allow extensions of the ManifestParser outside of the content/ layer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: WIP - changing chrome layer relationship Created 5 years, 10 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/public/renderer/content_renderer_client.h
diff --git a/content/public/renderer/content_renderer_client.h b/content/public/renderer/content_renderer_client.h
index 0744f627ae2332aa21f493627549f4efbd4095a2..7b61be13e3348c7d8136ea36dbf8e5008dd4ecc4 100644
--- a/content/public/renderer/content_renderer_client.h
+++ b/content/public/renderer/content_renderer_client.h
@@ -61,6 +61,7 @@ struct KeySystemInfo;
namespace content {
class BrowserPluginDelegate;
class DocumentState;
+class ManifestParser;
class RenderFrame;
class RenderView;
class SynchronousCompositor;
@@ -294,6 +295,11 @@ class CONTENT_EXPORT ContentRendererClient {
// Returns a user agent override specific for |url|, or empty string if
// default user agent should be used.
virtual std::string GetUserAgentOverrideForURL(const GURL& url);
+
+ // TODO:
+ virtual bool ParseManifestProperty(const std::string& key,
+ const base::Value& value
+ /* TODO: errors */);
Avi (use Gerrit) 2015/02/23 17:30:25 The ContentRendererClient is a singleton, and thus
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698