Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(86)

Unified Diff: chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.h

Issue 2281743002: arc: Add support of default and OEM apps. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased + nits Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.h
diff --git a/chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.h b/chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.h
index dbffd9e264e27b7ef31d8dbb27b5fd291d0ca682..6afbfbd9150905a23af43272f6e76a4356a7cb0c 100644
--- a/chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.h
+++ b/chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.h
@@ -14,6 +14,7 @@
#include "ash/display/window_tree_host_manager.h"
#include "base/compiler_specific.h"
#include "base/macros.h"
+#include "base/memory/weak_ptr.h"
#include "build/build_config.h"
#include "chrome/browser/ui/app_icon_loader.h"
#include "chrome/browser/ui/app_list/app_list_syncable_service.h"
@@ -357,6 +358,8 @@ class ChromeLauncherControllerImpl
typedef std::map<std::string, RunningAppListIds> RunningAppListIdMap;
RunningAppListIdMap last_used_running_application_order_;
+ base::WeakPtrFactory<ChromeLauncherControllerImpl> weak_ptr_factory_;
+
DISALLOW_COPY_AND_ASSIGN(ChromeLauncherControllerImpl);
};

Powered by Google App Engine
This is Rietveld 408576698