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..dd22eb343921980bf94005fe3e8c41968410b312 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. |
+bool IsCurrentAppNoteTakingApp(extensions::AppWindow* app_window); |
xiyuan
2016/09/12 20:15:47
nit: IsCurrentAppNoteTakingApp -> IsNoteTakingApp
xiaoyinh(OOO Sep 11-29)
2016/09/16 18:41:15
Done.
|
+ |
} // namespace chromeos |
#endif // CHROME_BROWSER_CHROMEOS_NOTE_TAKING_APP_UTILS_H_ |