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

Unified Diff: chrome/browser/chromeos/drive/drive_app_registry.h

Issue 125553004: Parse createUrl field of apps.list Drive API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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 | « no previous file | chrome/browser/chromeos/drive/drive_app_registry.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/drive/drive_app_registry.h
diff --git a/chrome/browser/chromeos/drive/drive_app_registry.h b/chrome/browser/chromeos/drive/drive_app_registry.h
index cd849042dab765f654b43efb3fbe176f8d8907bb..30d0945ebcedaeb9c2b57067a10fc4470098e801 100644
--- a/chrome/browser/chromeos/drive/drive_app_registry.h
+++ b/chrome/browser/chromeos/drive/drive_app_registry.h
@@ -36,7 +36,8 @@ struct DriveAppInfo {
const std::string& web_store_id,
const std::string& app_name,
const std::string& object_type,
- bool is_primary_selector);
+ bool is_primary_selector,
+ const GURL& create_url);
~DriveAppInfo();
// Drive app id.
@@ -55,6 +56,8 @@ struct DriveAppInfo {
std::string object_type;
// Is app the primary selector for file (default open action).
bool is_primary_selector;
+ // URL for opening a new file in the app.
+ GURL create_url;
};
// Keeps the track of installed drive applications in-memory.
@@ -96,6 +99,7 @@ class DriveAppRegistry {
const std::string& object_type,
const std::string& app_id,
bool is_primary_selector,
+ const GURL& create_url,
const ScopedVector<std::string>& selectors,
DriveAppFileSelectorMap* map);
« no previous file with comments | « no previous file | chrome/browser/chromeos/drive/drive_app_registry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698