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

Side by Side Diff: content/public/browser/presentation_session_message.h

Issue 1221073004: Enable clang warning for ignored attributes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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 CONTENT_PUBLIC_BROWSER_PRESENTATION_SESSION_MESSAGE_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_PRESENTATION_SESSION_MESSAGE_H_
6 #define CONTENT_PUBLIC_BROWSER_PRESENTATION_SESSION_MESSAGE_H_ 6 #define CONTENT_PUBLIC_BROWSER_PRESENTATION_SESSION_MESSAGE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "content/common/content_export.h" 12 #include "content/common/content_export.h"
13 13
14 namespace content { 14 namespace content {
15 15
16 enum CONTENT_EXPORT PresentationMessageType { 16 enum PresentationMessageType {
17 TEXT, 17 TEXT,
18 ARRAY_BUFFER, 18 ARRAY_BUFFER,
19 BLOB, 19 BLOB,
20 }; 20 };
21 21
22 // Represents a presentation session message. 22 // Represents a presentation session message.
23 // If this is a text message, |data| is null; otherwise, |message| is null. 23 // If this is a text message, |data| is null; otherwise, |message| is null.
24 // Empty messages are allowed. 24 // Empty messages are allowed.
25 struct CONTENT_EXPORT PresentationSessionMessage { 25 struct CONTENT_EXPORT PresentationSessionMessage {
26 public: 26 public:
(...skipping 30 matching lines...) Expand all
57 scoped_ptr<std::string> message); 57 scoped_ptr<std::string> message);
58 PresentationSessionMessage(const std::string& presentation_url, 58 PresentationSessionMessage(const std::string& presentation_url,
59 const std::string& presentation_id, 59 const std::string& presentation_id,
60 PresentationMessageType type, 60 PresentationMessageType type,
61 scoped_ptr<std::vector<uint8_t>> data); 61 scoped_ptr<std::vector<uint8_t>> data);
62 }; 62 };
63 63
64 } // namespace content 64 } // namespace content
65 65
66 #endif // CONTENT_PUBLIC_BROWSER_PRESENTATION_SESSION_H_ 66 #endif // CONTENT_PUBLIC_BROWSER_PRESENTATION_SESSION_H_
OLDNEW
« no previous file with comments | « content/public/browser/presentation_session.h ('k') | gpu/config/gpu_driver_bug_workaround_type.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698