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

Side by Side Diff: ash/public/cpp/app_launch_id.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 unified diff | Download patch
« no previous file with comments | « ash/public/cpp/app_launch_id.h ('k') | chrome/browser/ui/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/ui/ash/app_launcher_id.h" 5 #include "ash/public/cpp/app_launch_id.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 8
9 namespace ash { 9 namespace ash {
10 10
11 AppLauncherId::AppLauncherId(const std::string& app_id, 11 AppLaunchId::AppLaunchId(const std::string& app_id,
12 const std::string& launch_id) 12 const std::string& launch_id)
13 : app_id_(app_id), launch_id_(launch_id) { 13 : app_id_(app_id), launch_id_(launch_id) {
14 DCHECK(!app_id.empty()); 14 DCHECK(!app_id.empty());
15 } 15 }
16 16
17 AppLauncherId::AppLauncherId(const std::string& app_id) : app_id_(app_id) { 17 AppLaunchId::AppLaunchId(const std::string& app_id) : app_id_(app_id) {
18 DCHECK(!app_id.empty()); 18 DCHECK(!app_id.empty());
19 } 19 }
20 20
21 AppLauncherId::AppLauncherId() {} 21 AppLaunchId::AppLaunchId() {}
22 22
23 AppLauncherId::~AppLauncherId() {} 23 AppLaunchId::~AppLaunchId() {}
24 24
25 } // namespace ash 25 } // namespace ash
OLDNEW
« no previous file with comments | « ash/public/cpp/app_launch_id.h ('k') | chrome/browser/ui/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698