| OLD | NEW |
| 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 "chrome/browser/ui/ash/app_launcher_id.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 | 8 |
| 9 namespace ash { | 9 namespace ash { |
| 10 namespace launcher { | |
| 11 | 10 |
| 12 AppLauncherId::AppLauncherId(const std::string& app_id, | 11 AppLauncherId::AppLauncherId(const std::string& app_id, |
| 13 const std::string& launch_id) | 12 const std::string& launch_id) |
| 14 : app_id_(app_id), launch_id_(launch_id) { | 13 : app_id_(app_id), launch_id_(launch_id) { |
| 15 DCHECK(!app_id.empty()); | 14 DCHECK(!app_id.empty()); |
| 16 } | 15 } |
| 17 | 16 |
| 18 AppLauncherId::AppLauncherId(const std::string& app_id) : app_id_(app_id) { | 17 AppLauncherId::AppLauncherId(const std::string& app_id) : app_id_(app_id) { |
| 19 DCHECK(!app_id.empty()); | 18 DCHECK(!app_id.empty()); |
| 20 } | 19 } |
| 21 | 20 |
| 22 AppLauncherId::AppLauncherId() {} | 21 AppLauncherId::AppLauncherId() {} |
| 23 | 22 |
| 24 AppLauncherId::~AppLauncherId() {} | 23 AppLauncherId::~AppLauncherId() {} |
| 25 | 24 |
| 26 } // namespace launcher | |
| 27 } // namespace ash | 25 } // namespace ash |
| OLD | NEW |