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

Side by Side Diff: third_party/WebKit/Source/core/testing/Internals.cpp

Issue 2818083002: Rewrite references to "wtf/" to "platform/wtf/" in the rest of core/. (Closed)
Patch Set: Rebase. Created 3 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 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * Copyright (C) 2013 Apple Inc. All rights reserved. 3 * Copyright (C) 2013 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 #include "platform/heap/Handle.h" 139 #include "platform/heap/Handle.h"
140 #include "platform/instrumentation/tracing/TraceEvent.h" 140 #include "platform/instrumentation/tracing/TraceEvent.h"
141 #include "platform/loader/fetch/MemoryCache.h" 141 #include "platform/loader/fetch/MemoryCache.h"
142 #include "platform/loader/fetch/ResourceFetcher.h" 142 #include "platform/loader/fetch/ResourceFetcher.h"
143 #include "platform/loader/fetch/ResourceLoadPriority.h" 143 #include "platform/loader/fetch/ResourceLoadPriority.h"
144 #include "platform/network/NetworkStateNotifier.h" 144 #include "platform/network/NetworkStateNotifier.h"
145 #include "platform/scroll/ProgrammaticScrollAnimator.h" 145 #include "platform/scroll/ProgrammaticScrollAnimator.h"
146 #include "platform/scroll/ScrollbarTheme.h" 146 #include "platform/scroll/ScrollbarTheme.h"
147 #include "platform/testing/URLTestHelpers.h" 147 #include "platform/testing/URLTestHelpers.h"
148 #include "platform/weborigin/SchemeRegistry.h" 148 #include "platform/weborigin/SchemeRegistry.h"
149 #include "platform/wtf/InstanceCounter.h"
150 #include "platform/wtf/Optional.h"
151 #include "platform/wtf/PtrUtil.h"
152 #include "platform/wtf/dtoa.h"
153 #include "platform/wtf/text/StringBuffer.h"
149 #include "public/platform/Platform.h" 154 #include "public/platform/Platform.h"
150 #include "public/platform/WebConnectionType.h" 155 #include "public/platform/WebConnectionType.h"
151 #include "public/platform/WebGraphicsContext3DProvider.h" 156 #include "public/platform/WebGraphicsContext3DProvider.h"
152 #include "public/platform/WebLayer.h" 157 #include "public/platform/WebLayer.h"
153 #include "public/platform/modules/remoteplayback/WebRemotePlaybackAvailability.h " 158 #include "public/platform/modules/remoteplayback/WebRemotePlaybackAvailability.h "
154 #include "v8/include/v8.h" 159 #include "v8/include/v8.h"
155 #include "wtf/InstanceCounter.h"
156 #include "wtf/Optional.h"
157 #include "wtf/PtrUtil.h"
158 #include "wtf/dtoa.h"
159 #include "wtf/text/StringBuffer.h"
160 160
161 namespace blink { 161 namespace blink {
162 162
163 namespace { 163 namespace {
164 164
165 class UseCounterObserverImpl final : public UseCounter::Observer { 165 class UseCounterObserverImpl final : public UseCounter::Observer {
166 WTF_MAKE_NONCOPYABLE(UseCounterObserverImpl); 166 WTF_MAKE_NONCOPYABLE(UseCounterObserverImpl);
167 167
168 public: 168 public:
169 UseCounterObserverImpl(ScriptPromiseResolver* resolver, 169 UseCounterObserverImpl(ScriptPromiseResolver* resolver,
(...skipping 3105 matching lines...) Expand 10 before | Expand all | Expand 10 after
3275 3275
3276 void Internals::crash() { 3276 void Internals::crash() {
3277 CHECK(false) << "Intentional crash"; 3277 CHECK(false) << "Intentional crash";
3278 } 3278 }
3279 3279
3280 void Internals::setIsLowEndDevice(bool is_low_end_device) { 3280 void Internals::setIsLowEndDevice(bool is_low_end_device) {
3281 MemoryCoordinator::SetIsLowEndDeviceForTesting(is_low_end_device); 3281 MemoryCoordinator::SetIsLowEndDeviceForTesting(is_low_end_device);
3282 } 3282 }
3283 3283
3284 } // namespace blink 3284 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/testing/Internals.h ('k') | third_party/WebKit/Source/core/testing/LayerRect.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698