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

Unified Diff: chrome/browser/ui/ash/palette_delegate_chromeos.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/ui/ash/palette_delegate_chromeos.cc
diff --git a/chrome/browser/ui/ash/palette_delegate_chromeos.cc b/chrome/browser/ui/ash/palette_delegate_chromeos.cc
index c5ee2dbc227c250b217273ed75d2c7d0f90a5cba..fce65454cfd29e440cc3cf7fa511095b3ba5fecc 100644
--- a/chrome/browser/ui/ash/palette_delegate_chromeos.cc
+++ b/chrome/browser/ui/ash/palette_delegate_chromeos.cc
@@ -11,7 +11,7 @@
#include "ash/shell.h"
#include "ash/utility/screenshot_controller.h"
#include "chrome/browser/chrome_notification_types.h"
-#include "chrome/browser/chromeos/note_taking_app_utils.h"
+#include "chrome/browser/chromeos/note_taking_helper.h"
#include "chrome/browser/chromeos/profiles/profile_helper.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/profiles/profile_manager.h"
@@ -57,14 +57,15 @@ void PaletteDelegateChromeOS::CreateNote() {
if (!profile_)
return;
- chromeos::LaunchNoteTakingAppForNewNote(profile_, base::FilePath());
+ chromeos::NoteTakingHelper::Get()->LaunchAppForNewNote(profile_,
+ base::FilePath());
}
bool PaletteDelegateChromeOS::HasNoteApp() {
if (!profile_)
return false;
- return chromeos::IsNoteTakingAppAvailable(profile_);
+ return chromeos::NoteTakingHelper::Get()->IsAppAvailable(profile_);
}
void PaletteDelegateChromeOS::ActiveUserChanged(const AccountId& account_id) {

Powered by Google App Engine
This is Rietveld 408576698