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

Side by Side Diff: chrome/browser/chromeos/note_taking_app_utils.h

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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_CHROMEOS_NOTE_TAKING_APP_UTILS_H_
6 #define CHROME_BROWSER_CHROMEOS_NOTE_TAKING_APP_UTILS_H_
7
8 class Profile;
9
10 namespace base {
11 class FilePath;
12 } // namespace base
13
14 namespace chromeos {
15
16 // Returns true if an app that can be used to take notes is available.
17 bool IsNoteTakingAppAvailable(Profile* profile);
18
19 // Launches the note-taking app to create a new note, optionally additionally
20 // passing a file (|path| may be empty). IsNoteTakingAppAvailable() must be
21 // called first.
22 void LaunchNoteTakingAppForNewNote(Profile* profile,
23 const base::FilePath& path);
24
25 } // namespace chromeos
26
27 #endif // CHROME_BROWSER_CHROMEOS_NOTE_TAKING_APP_UTILS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698