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..8968dd82da93ea1f8f0df937f7ed320bcedeac5a 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 |app_window| belongs to the default note-taking app. |
+bool IsNoteTakingAppWindow(extensions::AppWindow* app_window, Profile* profile); |
+ |
} // namespace chromeos |
#endif // CHROME_BROWSER_CHROMEOS_NOTE_TAKING_APP_UTILS_H_ |