Index: chrome/browser/chromeos/extensions/file_manager/file_handler_util.cc |
diff --git a/chrome/browser/chromeos/extensions/file_manager/file_handler_util.cc b/chrome/browser/chromeos/extensions/file_manager/file_handler_util.cc |
index c6e1ba23b525176483af1596cc890f13a91ecbcb..d1c60c365bac1f9ab20887546726e35beda124e8 100644 |
--- a/chrome/browser/chromeos/extensions/file_manager/file_handler_util.cc |
+++ b/chrome/browser/chromeos/extensions/file_manager/file_handler_util.cc |
@@ -98,16 +98,6 @@ int ExtractProcessFromExtensionId(Profile* profile, |
return process->GetID(); |
} |
-// Returns true if the task should be used as a fallback. Such tasks are |
-// Files.app's internal handlers as well as quick office extensions. |
-bool IsFallbackTask(const FileBrowserHandler* task) { |
- return (task->extension_id() == kFileBrowserDomain || |
- task->extension_id() == |
- extension_misc::kQuickOfficeComponentExtensionId || |
- task->extension_id() == extension_misc::kQuickOfficeDevExtensionId || |
- task->extension_id() == extension_misc::kQuickOfficeExtensionId); |
-} |
- |
const FileBrowserHandler* FindFileBrowserHandler(const Extension* extension, |
const std::string& action_id) { |
FileBrowserHandler::List* handler_list = |
@@ -186,6 +176,14 @@ bool GetFileBrowserHandlers(Profile* profile, |
} // namespace |
+bool IsFallbackTask(const FileBrowserHandler* task) { |
+ return (task->extension_id() == kFileBrowserDomain || |
+ task->extension_id() == |
+ extension_misc::kQuickOfficeComponentExtensionId || |
+ task->extension_id() == extension_misc::kQuickOfficeDevExtensionId || |
+ task->extension_id() == extension_misc::kQuickOfficeExtensionId); |
+} |
+ |
void UpdateDefaultTask(Profile* profile, |
const std::string& task_id, |
const std::set<std::string>& suffixes, |