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

Unified Diff: chrome/browser/download/download_commands.cc

Issue 2526893003: chromeos: Add NoteTakingHelper class. (Closed)
Patch Set: drop is-note-taking-app-window stuff Created 4 years 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/download/download_commands.cc
diff --git a/chrome/browser/download/download_commands.cc b/chrome/browser/download/download_commands.cc
index 21a618c83ba58227edf577316cb357e8f6883e19..38d68c58eb7400f7c237c11e03899385c574a56b 100644
--- a/chrome/browser/download/download_commands.cc
+++ b/chrome/browser/download/download_commands.cc
@@ -37,7 +37,7 @@
#endif
#if defined(OS_CHROMEOS)
-#include "chrome/browser/chromeos/note_taking_app_utils.h"
+#include "chrome/browser/chromeos/note_taking_helper.h"
#endif // defined(OS_CHROMEOS)
namespace {
@@ -357,7 +357,7 @@ void DownloadCommands::ExecuteCommand(Command command) {
case ANNOTATE:
#if defined(OS_CHROMEOS)
if (DownloadItemModel(download_item_).HasSupportedImageMimeType()) {
- chromeos::LaunchNoteTakingAppForNewNote(
+ chromeos::NoteTakingHelper::Get()->LaunchAppForNewNote(
Profile::FromBrowserContext(download_item_->GetBrowserContext()),
download_item_->GetTargetFilePath());
}

Powered by Google App Engine
This is Rietveld 408576698