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

Unified Diff: chrome/browser/ui/ash/launcher/chrome_launcher_controller_mus.cc

Issue 2765563002: Move and rename Chrome's AppLauncherId to ash::AppLaunchId. (Closed)
Patch Set: Add example commment. Created 3 years, 9 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_mus.cc
diff --git a/chrome/browser/ui/ash/launcher/chrome_launcher_controller_mus.cc b/chrome/browser/ui/ash/launcher/chrome_launcher_controller_mus.cc
index ea06a2c013eb8913df2e7b3445ece38ab3b69519..d3ac15289aa983f51c4e6fd54aab1928563387c1 100644
--- a/chrome/browser/ui/ash/launcher/chrome_launcher_controller_mus.cc
+++ b/chrome/browser/ui/ash/launcher/chrome_launcher_controller_mus.cc
@@ -4,10 +4,10 @@
#include "chrome/browser/ui/ash/launcher/chrome_launcher_controller_mus.h"
+#include "ash/public/cpp/app_launch_id.h"
#include "base/strings/string_util.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/profiles/profile_manager.h"
-#include "chrome/browser/ui/ash/app_launcher_id.h"
#include "chrome/browser/ui/ash/chrome_launcher_prefs.h"
#include "chrome/browser/ui/ash/launcher/launcher_controller_helper.h"
#include "extensions/grit/extensions_browser_resources.h"
@@ -233,13 +233,13 @@ void ChromeLauncherControllerMus::PinAppsFromPrefs() {
if (!ConnectToShelfController())
return;
- std::vector<ash::AppLauncherId> pinned_apps =
+ std::vector<ash::AppLaunchId> pinned_apps =
ash::launcher::GetPinnedAppsFromPrefs(profile()->GetPrefs(),
launcher_controller_helper());
- for (const auto& app_launcher_id : pinned_apps) {
- const std::string app_id = app_launcher_id.app_id();
- if (app_launcher_id.app_id() == ash::launcher::kPinnedAppsPlaceholder)
+ for (const auto& app_launch_id : pinned_apps) {
+ const std::string app_id = app_launch_id.app_id();
+ if (app_launch_id.app_id() == ash::launcher::kPinnedAppsPlaceholder)
continue;
ash::mojom::ShelfItemPtr item(ash::mojom::ShelfItem::New());

Powered by Google App Engine
This is Rietveld 408576698