Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / ui / app_list / app_list_controller_delegate.cc
index 54e3fd5..18daa5a 100644 (file)
 #include "ui/app_list/app_list_model.h"
 #include "ui/app_list/app_list_switches.h"
 
+#if defined(ENABLE_RLZ)
+#include "chrome/browser/rlz/rlz.h"
+#endif
+
 using extensions::ExtensionRegistry;
 
 namespace {
@@ -203,3 +207,9 @@ void AppListControllerDelegate::GetApps(Profile* profile,
   out_apps->InsertAll(registry->disabled_extensions());
   out_apps->InsertAll(registry->terminated_extensions());
 }
+
+void AppListControllerDelegate::OnSearchStarted() {
+#if defined(ENABLE_RLZ)
+  RLZTracker::RecordAppListSearch();
+#endif
+}