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

Side by Side Diff: content/shell/renderer/test_runner/WebUserMediaClientMock.h

Issue 123243002: Replace WebNonCopyable with DISALLOW_COPY_AND_ASSIGN in test runner library (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 6 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « content/shell/renderer/test_runner/WebTestThemeEngineWin.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 WebUserMediaClientMock_h 5 #ifndef WebUserMediaClientMock_h
6 #define WebUserMediaClientMock_h 6 #define WebUserMediaClientMock_h
7 7
8 #include "base/basictypes.h"
8 #include "content/shell/renderer/test_runner/TestCommon.h" 9 #include "content/shell/renderer/test_runner/TestCommon.h"
9 #include "content/shell/renderer/test_runner/WebTask.h" 10 #include "content/shell/renderer/test_runner/WebTask.h"
10 #include "third_party/WebKit/public/platform/WebCommon.h" 11 #include "third_party/WebKit/public/platform/WebCommon.h"
11 #include "third_party/WebKit/public/platform/WebNonCopyable.h"
12 #include "third_party/WebKit/public/platform/WebString.h" 12 #include "third_party/WebKit/public/platform/WebString.h"
13 #include "third_party/WebKit/public/platform/WebURL.h" 13 #include "third_party/WebKit/public/platform/WebURL.h"
14 #include "third_party/WebKit/public/web/WebUserMediaClient.h" 14 #include "third_party/WebKit/public/web/WebUserMediaClient.h"
15 15
16 namespace WebTestRunner { 16 namespace WebTestRunner {
17 17
18 class WebTestDelegate; 18 class WebTestDelegate;
19 19
20 class WebUserMediaClientMock : public blink::WebUserMediaClient, public blink::W ebNonCopyable { 20 class WebUserMediaClientMock : public blink::WebUserMediaClient {
21 public: 21 public:
22 explicit WebUserMediaClientMock(WebTestDelegate*); 22 explicit WebUserMediaClientMock(WebTestDelegate*);
23 ~WebUserMediaClientMock() { } 23 ~WebUserMediaClientMock() { }
24 24
25 virtual void requestUserMedia(const blink::WebUserMediaRequest&) OVERRIDE; 25 virtual void requestUserMedia(const blink::WebUserMediaRequest&) OVERRIDE;
26 virtual void cancelUserMediaRequest(const blink::WebUserMediaRequest&) OVERR IDE; 26 virtual void cancelUserMediaRequest(const blink::WebUserMediaRequest&) OVERR IDE;
27 27
28 // Task related methods 28 // Task related methods
29 WebTaskList* taskList() { return &m_taskList; } 29 WebTaskList* taskList() { return &m_taskList; }
30 30
31 private: 31 private:
32 WebTaskList m_taskList; 32 WebTaskList m_taskList;
33 WebTestDelegate* m_delegate; 33 WebTestDelegate* m_delegate;
34
35 DISALLOW_COPY_AND_ASSIGN(WebUserMediaClientMock);
34 }; 36 };
35 37
36 } 38 }
37 39
38 #endif // WebUserMediaClientMock_h 40 #endif // WebUserMediaClientMock_h
OLDNEW
« no previous file with comments | « content/shell/renderer/test_runner/WebTestThemeEngineWin.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698