| OLD | NEW |
| (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_ |
| OLD | NEW |