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 #ifndef CHROME_BROWSER_MEDIA_ROUTER_ISSUE_H_ | 5 #ifndef COMPONENTS_MEDIA_ROUTER_ISSUE_H_ |
6 #define CHROME_BROWSER_MEDIA_ROUTER_ISSUE_H_ | 6 #define COMPONENTS_MEDIA_ROUTER_ISSUE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/logging.h" | 11 #include "base/logging.h" |
12 #include "chrome/browser/media/router/media_route.h" | 12 #include "components/media_router/media_route.h" |
13 | 13 |
14 namespace media_router { | 14 namespace media_router { |
15 | 15 |
16 // Contains the information relevant to an issue. | 16 // Contains the information relevant to an issue. |
17 struct IssueInfo { | 17 struct IssueInfo { |
18 public: | 18 public: |
19 // Possible actions for an issue. | 19 // Possible actions for an issue. |
20 enum class Action { | 20 enum class Action { |
21 DISMISS, | 21 DISMISS, |
22 // NOTE: If LEARN_MORE is set as a possible action for an issue, then its | 22 // NOTE: If LEARN_MORE is set as a possible action for an issue, then its |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 const Id& id() const { return id_; } | 87 const Id& id() const { return id_; } |
88 const IssueInfo& info() const { return info_; } | 88 const IssueInfo& info() const { return info_; } |
89 | 89 |
90 private: | 90 private: |
91 Id id_; | 91 Id id_; |
92 IssueInfo info_; | 92 IssueInfo info_; |
93 }; | 93 }; |
94 | 94 |
95 } // namespace media_router | 95 } // namespace media_router |
96 | 96 |
97 #endif // CHROME_BROWSER_MEDIA_ROUTER_ISSUE_H_ | 97 #endif // COMPONENTS_MEDIA_ROUTER_ISSUE_H_ |
OLD | NEW |