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

Unified Diff: chrome/browser/ui/ash/app_launcher_id.cc

Issue 2691043002: Discard pinning an app with non-empty launcher id. (Closed)
Patch Set: Created 3 years, 10 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
« no previous file with comments | « chrome/browser/ui/ash/app_launcher_id.h ('k') | chrome/browser/ui/ash/chrome_launcher_prefs.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/ash/app_launcher_id.cc
diff --git a/chrome/browser/ui/ash/app_launcher_id.cc b/chrome/browser/ui/ash/app_launcher_id.cc
new file mode 100644
index 0000000000000000000000000000000000000000..fa42b1f51fc849e77b144d753a0799021eec7a18
--- /dev/null
+++ b/chrome/browser/ui/ash/app_launcher_id.cc
@@ -0,0 +1,27 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "chrome/browser/ui/ash/app_launcher_id.h"
+
+#include "base/logging.h"
+
+namespace ash {
+namespace launcher {
+
+AppLauncherId::AppLauncherId(const std::string& app_id,
+ const std::string& launch_id)
+ : app_id_(app_id), launch_id_(launch_id) {
+ DCHECK(!app_id.empty());
+}
+
+AppLauncherId::AppLauncherId(const std::string& app_id) : app_id_(app_id) {
+ DCHECK(!app_id.empty());
+}
+
+AppLauncherId::AppLauncherId() {}
+
+AppLauncherId::~AppLauncherId() {}
+
+} // namespace launcher
+} // namespace ash
« no previous file with comments | « chrome/browser/ui/ash/app_launcher_id.h ('k') | chrome/browser/ui/ash/chrome_launcher_prefs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698