| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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/media/router/issue.h" | 5 #include "chrome/common/media_router/issue.h" |
| 6 | 6 |
| 7 #include "base/atomic_sequence_num.h" | 7 #include "base/atomic_sequence_num.h" |
| 8 | 8 |
| 9 namespace media_router { | 9 namespace media_router { |
| 10 | 10 |
| 11 namespace { | 11 namespace { |
| 12 // ID generator for Issue. | 12 // ID generator for Issue. |
| 13 base::StaticAtomicSequenceNumber g_next_issue_id; | 13 base::StaticAtomicSequenceNumber g_next_issue_id; |
| 14 } | 14 } |
| 15 | 15 |
| (...skipping 25 matching lines...) Expand all Loading... |
| 41 route_id == other.route_id && is_blocking == other.is_blocking && | 41 route_id == other.route_id && is_blocking == other.is_blocking && |
| 42 help_page_id == other.help_page_id; | 42 help_page_id == other.help_page_id; |
| 43 } | 43 } |
| 44 | 44 |
| 45 Issue::Issue(const IssueInfo& info) | 45 Issue::Issue(const IssueInfo& info) |
| 46 : id_(g_next_issue_id.GetNext()), info_(info) {} | 46 : id_(g_next_issue_id.GetNext()), info_(info) {} |
| 47 | 47 |
| 48 Issue::~Issue() = default; | 48 Issue::~Issue() = default; |
| 49 | 49 |
| 50 } // namespace media_router | 50 } // namespace media_router |
| OLD | NEW |