Chromium Code Reviews| Index: chrome/browser/chromeos/note_taking_app_utils.h |
| diff --git a/chrome/browser/chromeos/note_taking_app_utils.h b/chrome/browser/chromeos/note_taking_app_utils.h |
| index 1f326105a8256bf56a6686e2eeeaea20554ec30a..99da1460c8d8cbb5256d904a1d06c78521fa60a9 100644 |
| --- a/chrome/browser/chromeos/note_taking_app_utils.h |
| +++ b/chrome/browser/chromeos/note_taking_app_utils.h |
| @@ -11,6 +11,10 @@ namespace base { |
| class FilePath; |
| } // namespace base |
| +namespace extensions { |
| +class AppWindow; |
| +} // namespace extensions |
| + |
| namespace chromeos { |
| // Returns true if an app that can be used to take notes is available. |
| @@ -22,6 +26,9 @@ bool IsNoteTakingAppAvailable(Profile* profile); |
| void LaunchNoteTakingAppForNewNote(Profile* profile, |
| const base::FilePath& path); |
| +// Returns true if current app window is note taking app window. |
|
Daniel Erat
2016/09/27 19:15:10
nit: "Returns true if |app_window| belongs to the
xiaoyinh(OOO Sep 11-29)
2016/09/29 20:37:43
Done.
|
| +bool IsNoteTakingApp(extensions::AppWindow* app_window, Profile* profile); |
|
Daniel Erat
2016/09/27 19:15:10
i'd rename this to IsNoteTakingAppWindow() to make
xiaoyinh(OOO Sep 11-29)
2016/09/29 20:37:43
Done.
|
| + |
| } // namespace chromeos |
| #endif // CHROME_BROWSER_CHROMEOS_NOTE_TAKING_APP_UTILS_H_ |