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

Unified Diff: chrome/renderer/web_apps.h

Issue 568823003: Merge Android RetrieveWebappInformation and Extensions GetApplicationInfo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@manifest_manager_content
Patch Set: Created 6 years, 3 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
« no previous file with comments | « chrome/renderer/extensions/chrome_extension_helper.cc ('k') | chrome/renderer/web_apps.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/web_apps.h
diff --git a/chrome/renderer/web_apps.h b/chrome/renderer/web_apps.h
index e88e2fd9c486329d8e6d7947bf92785828d49c57..e21a300045f4d08355aa3bac78ca1fdb12131677 100644
--- a/chrome/renderer/web_apps.h
+++ b/chrome/renderer/web_apps.h
@@ -27,18 +27,11 @@ namespace web_apps {
bool ParseIconSizes(const base::string16& text, std::vector<gfx::Size>* sizes,
bool* is_any);
-// Parses |web_app| information out of the document in frame. Returns true on
-// success, or false and |error| on failure. Note that the document may contain
-// no web application information, in which case |web_app| is unchanged and the
-// function returns true.
-//
-// Documents can also contain a link to a application 'definition'. In this case
-// web_app will have manifest_url set and nothing else. The caller must fetch
-// this URL and pass the result to ParseWebAppFromDefinitionFile() for further
-// processing.
-bool ParseWebAppFromWebDocument(blink::WebFrame* frame,
- WebApplicationInfo* web_app,
- base::string16* error);
+// Parses |app_info| information out of the document in WebFrame. Note that the
+// document may contain no web application information, in which case |app_info|
+// is unchanged.
+void ParseWebAppFromWebDocument(blink::WebFrame* frame,
+ WebApplicationInfo* app_info);
} // namespace web_apps
« no previous file with comments | « chrome/renderer/extensions/chrome_extension_helper.cc ('k') | chrome/renderer/web_apps.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698