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

Side by Side Diff: chrome/common/media_router/issue.h

Issue 2771413003: Move c/b/media/router/mojo/*.mojom to chrome/common/media_router/mojo/*.mojom (Closed)
Patch Set: Rebase Created 3 years, 8 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
OLDNEW
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 CHROME_COMMON_MEDIA_ROUTER_ISSUE_H_
6 #define CHROME_BROWSER_MEDIA_ROUTER_ISSUE_H_ 6 #define CHROME_COMMON_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 "chrome/common/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
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 // CHROME_COMMON_MEDIA_ROUTER_ISSUE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698