Index: chrome/browser/extensions/app_launcher.h |
diff --git a/chrome/browser/extensions/app_launcher.h b/chrome/browser/extensions/app_launcher.h |
index 5710a4e87060fff36b016e33a5fe5d29318461dd..8a4b062d9fe77ae9a05e2aec694610adf10a24d6 100644 |
--- a/chrome/browser/extensions/app_launcher.h |
+++ b/chrome/browser/extensions/app_launcher.h |
@@ -8,6 +8,8 @@ |
#include "base/basictypes.h" |
#include "base/callback_forward.h" |
+class PrefServiceSimple; |
+ |
namespace extensions { |
// Called on the UI thread after determining if the launcher is enabled. A |
@@ -17,9 +19,16 @@ typedef base::Callback<void(bool)> OnAppLauncherEnabledCompleted; |
// Determine whether the app launcher is enabled or not. This may involve a trip |
// to a blocking thread. |completion_callback| is called when an answer is |
// ready. This needs to be called on the UI thread. |
-void GetIsAppLauncherEnabled( |
+void UpdateIsAppLauncherEnabled( |
const OnAppLauncherEnabledCompleted& completion_callback); |
+// returns value of pref. 'was app launcher enabled last time i checked'. |
+bool IsAppLauncherEnabled(); |
+ |
+namespace app_launcher { |
+void RegisterPrefs(PrefServiceSimple* pref_service); |
+} |
+ |
} // namespace extensions |
#endif // CHROME_BROWSER_EXTENSIONS_APP_LAUNCHER_H_ |