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

Side by Side Diff: third_party/WebKit/Source/platform/loader/testing/MockResourceClient.cpp

Issue 2723923002: Yukari: organize platform/loader/testing (Closed)
Patch Set: add missed files Created 3 years, 9 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 #include "platform/loader/fetch/MockResourceClient.h" 5 #include "platform/loader/testing/MockResourceClient.h"
6 6
7 namespace blink { 7 namespace blink {
8 8
9 MockResourceClient::MockResourceClient(Resource* resource) 9 MockResourceClient::MockResourceClient(Resource* resource)
10 : m_resource(resource), 10 : m_resource(resource),
11 m_notifyFinishedCalled(false), 11 m_notifyFinishedCalled(false),
12 m_encodedSizeOnNotifyFinished(0) { 12 m_encodedSizeOnNotifyFinished(0) {
13 m_resource->addClient(this); 13 m_resource->addClient(this);
14 } 14 }
15 15
(...skipping 16 matching lines...) Expand all
32 m_resource = nullptr; 32 m_resource = nullptr;
33 } 33 }
34 } 34 }
35 35
36 DEFINE_TRACE(MockResourceClient) { 36 DEFINE_TRACE(MockResourceClient) {
37 visitor->trace(m_resource); 37 visitor->trace(m_resource);
38 ResourceClient::trace(visitor); 38 ResourceClient::trace(visitor);
39 } 39 }
40 40
41 } // namespace blink 41 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698