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

Side by Side Diff: public/web/WebUserMediaRequest.h

Issue 776693002: Clean forward declaration in public (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix fakewebplugin Created 6 years 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
« no previous file with comments | « public/web/WebUserMediaClient.h ('k') | public/web/WebView.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 24 matching lines...) Expand all
35 #include "public/platform/WebCommon.h" 35 #include "public/platform/WebCommon.h"
36 #include "public/platform/WebPrivatePtr.h" 36 #include "public/platform/WebPrivatePtr.h"
37 #include "public/platform/WebString.h" 37 #include "public/platform/WebString.h"
38 38
39 namespace blink { 39 namespace blink {
40 40
41 class UserMediaRequest; 41 class UserMediaRequest;
42 class WebDocument; 42 class WebDocument;
43 class WebMediaConstraints; 43 class WebMediaConstraints;
44 class WebMediaStream; 44 class WebMediaStream;
45 class WebMediaStreamSource;
46 template <typename T> class WebVector;
47 45
48 class WebUserMediaRequest { 46 class WebUserMediaRequest {
49 public: 47 public:
50 WebUserMediaRequest() { } 48 WebUserMediaRequest() { }
51 WebUserMediaRequest(const WebUserMediaRequest& request) { assign(request); } 49 WebUserMediaRequest(const WebUserMediaRequest& request) { assign(request); }
52 ~WebUserMediaRequest() { reset(); } 50 ~WebUserMediaRequest() { reset(); }
53 51
54 WebUserMediaRequest& operator=(const WebUserMediaRequest& other) 52 WebUserMediaRequest& operator=(const WebUserMediaRequest& other)
55 { 53 {
56 assign(other); 54 assign(other);
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 }; 87 };
90 88
91 inline bool operator==(const WebUserMediaRequest& a, const WebUserMediaRequest& b) 89 inline bool operator==(const WebUserMediaRequest& a, const WebUserMediaRequest& b)
92 { 90 {
93 return a.equals(b); 91 return a.equals(b);
94 } 92 }
95 93
96 } // namespace blink 94 } // namespace blink
97 95
98 #endif // WebUserMediaRequest_h 96 #endif // WebUserMediaRequest_h
OLDNEW
« no previous file with comments | « public/web/WebUserMediaClient.h ('k') | public/web/WebView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698