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

Side by Side Diff: third_party/WebKit/Source/core/loader/resource/MockFontResourceClient.h

Issue 2584423002: Loading: move core/fetch to platform/loader/fetch (Closed)
Patch Set: another try Created 3 years, 10 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 MockFontResourceClient_h 5 #ifndef MockFontResourceClient_h
6 #define MockFontResourceClient_h 6 #define MockFontResourceClient_h
7 7
8 #include "core/fetch/Resource.h"
9 #include "core/fetch/ResourceClient.h"
10 #include "core/loader/resource/FontResource.h" 8 #include "core/loader/resource/FontResource.h"
11 #include "platform/heap/Handle.h" 9 #include "platform/heap/Handle.h"
10 #include "platform/loader/fetch/Resource.h"
11 #include "platform/loader/fetch/ResourceClient.h"
12 12
13 namespace blink { 13 namespace blink {
14 14
15 class MockFontResourceClient final 15 class MockFontResourceClient final
16 : public GarbageCollectedFinalized<MockFontResourceClient>, 16 : public GarbageCollectedFinalized<MockFontResourceClient>,
17 public FontResourceClient { 17 public FontResourceClient {
18 USING_PRE_FINALIZER(MockFontResourceClient, dispose); 18 USING_PRE_FINALIZER(MockFontResourceClient, dispose);
19 USING_GARBAGE_COLLECTED_MIXIN(MockFontResourceClient); 19 USING_GARBAGE_COLLECTED_MIXIN(MockFontResourceClient);
20 20
21 public: 21 public:
(...skipping 22 matching lines...) Expand all
44 void dispose(); 44 void dispose();
45 45
46 Member<Resource> m_resource; 46 Member<Resource> m_resource;
47 bool m_fontLoadShortLimitExceededCalled; 47 bool m_fontLoadShortLimitExceededCalled;
48 bool m_fontLoadLongLimitExceededCalled; 48 bool m_fontLoadLongLimitExceededCalled;
49 }; 49 };
50 50
51 } // namespace blink 51 } // namespace blink
52 52
53 #endif // MockFontResourceClient_h 53 #endif // MockFontResourceClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698