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

Side by Side Diff: third_party/WebKit/Source/platform/text/CompressibleString.h

Issue 1882003002: include RefCounted.h where needed, only. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: compile fix Created 4 years, 8 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 CompressibleString_h 5 #ifndef CompressibleString_h
6 #define CompressibleString_h 6 #define CompressibleString_h
7 7
8 #include "platform/PlatformExport.h" 8 #include "platform/PlatformExport.h"
9 #include "wtf/RefCounted.h"
9 #include "wtf/text/Unicode.h" 10 #include "wtf/text/Unicode.h"
10 #include "wtf/text/WTFString.h" 11 #include "wtf/text/WTFString.h"
11 12
12 namespace blink { 13 namespace blink {
13 14
14 // TODO(hajimehoshi): Now these classes are in platform/text to use UMA. Move 15 // TODO(hajimehoshi): Now these classes are in platform/text to use UMA. Move
15 // them to wtf/text. 16 // them to wtf/text.
16 17
17 class PLATFORM_EXPORT CompressibleStringImpl final : public RefCounted<Compressi bleStringImpl> { 18 class PLATFORM_EXPORT CompressibleStringImpl final : public RefCounted<Compressi bleStringImpl> {
18 WTF_MAKE_NONCOPYABLE(CompressibleStringImpl); 19 WTF_MAKE_NONCOPYABLE(CompressibleStringImpl);
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 111
111 mutable RefPtr<CompressibleStringImpl> m_impl; 112 mutable RefPtr<CompressibleStringImpl> m_impl;
112 }; 113 };
113 114
114 } // namespace blink 115 } // namespace blink
115 116
116 using blink::CompressibleString; 117 using blink::CompressibleString;
117 using blink::CompressibleStringImpl; 118 using blink::CompressibleStringImpl;
118 119
119 #endif 120 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/network/ResourceResponse.h ('k') | third_party/WebKit/Source/platform/text/TextChecking.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698