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

Unified Diff: chrome/browser/chromeos/extensions/file_handler_util.h

Issue 10834383: Chrome OS "open with" picker allowing Web Intents (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: sync to head, comment Created 8 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/chromeos/extensions/file_handler_util.h
diff --git a/chrome/browser/chromeos/extensions/file_handler_util.h b/chrome/browser/chromeos/extensions/file_handler_util.h
index 6fb8d25fc8106fc8a97b440cd532a8618b8e7c01..5bb739ddb7b22169bda2cb76f4aeee052af93f41 100644
--- a/chrome/browser/chromeos/extensions/file_handler_util.h
+++ b/chrome/browser/chromeos/extensions/file_handler_util.h
@@ -26,7 +26,8 @@ int GetReadWritePermissions();
// Gets read-only file access permission flags.
int GetReadOnlyPermissions();
-// Generates file task id for the file action specified by the extension.
+// Generates task id for the file action or Web Intent specified by the
+// extension. This is a Web Intent if |action_id| is prefixed with "http".
benwells 2012/08/27 08:02:59 Using a prefix here feels pretty hacky. Can we pas
thorogood 2012/08/29 06:34:46 Yes, I guess so, although I'd probably be keen to
thorogood 2012/08/29 08:58:08 I've taken on your first suggestion now - like I s
std::string MakeTaskID(const std::string& extension_id,
const std::string& action_id);

Powered by Google App Engine
This is Rietveld 408576698