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

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

Issue 2710023006: Move NetworkStateNotifier from core (and web) into platform/network (Closed)
Patch Set: rebase 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 /* 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 #include "core/layout/LayoutTreeAsText.h" 101 #include "core/layout/LayoutTreeAsText.h"
102 #include "core/layout/api/LayoutMenuListItem.h" 102 #include "core/layout/api/LayoutMenuListItem.h"
103 #include "core/layout/api/LayoutViewItem.h" 103 #include "core/layout/api/LayoutViewItem.h"
104 #include "core/layout/compositing/CompositedLayerMapping.h" 104 #include "core/layout/compositing/CompositedLayerMapping.h"
105 #include "core/layout/compositing/PaintLayerCompositor.h" 105 #include "core/layout/compositing/PaintLayerCompositor.h"
106 #include "core/loader/DocumentLoader.h" 106 #include "core/loader/DocumentLoader.h"
107 #include "core/loader/FrameLoader.h" 107 #include "core/loader/FrameLoader.h"
108 #include "core/loader/HistoryItem.h" 108 #include "core/loader/HistoryItem.h"
109 #include "core/page/ChromeClient.h" 109 #include "core/page/ChromeClient.h"
110 #include "core/page/FocusController.h" 110 #include "core/page/FocusController.h"
111 #include "core/page/NetworkStateNotifier.h"
112 #include "core/page/Page.h" 111 #include "core/page/Page.h"
113 #include "core/page/PrintContext.h" 112 #include "core/page/PrintContext.h"
114 #include "core/page/scrolling/ScrollState.h" 113 #include "core/page/scrolling/ScrollState.h"
115 #include "core/paint/PaintLayer.h" 114 #include "core/paint/PaintLayer.h"
116 #include "core/svg/SVGImageElement.h" 115 #include "core/svg/SVGImageElement.h"
117 #include "core/testing/CallbackFunctionTest.h" 116 #include "core/testing/CallbackFunctionTest.h"
118 #include "core/testing/DictionaryTest.h" 117 #include "core/testing/DictionaryTest.h"
119 #include "core/testing/GCObservation.h" 118 #include "core/testing/GCObservation.h"
120 #include "core/testing/InternalRuntimeFlags.h" 119 #include "core/testing/InternalRuntimeFlags.h"
121 #include "core/testing/InternalSettings.h" 120 #include "core/testing/InternalSettings.h"
(...skipping 10 matching lines...) Expand all
132 #include "platform/Language.h" 131 #include "platform/Language.h"
133 #include "platform/LayoutLocale.h" 132 #include "platform/LayoutLocale.h"
134 #include "platform/RuntimeEnabledFeatures.h" 133 #include "platform/RuntimeEnabledFeatures.h"
135 #include "platform/geometry/IntRect.h" 134 #include "platform/geometry/IntRect.h"
136 #include "platform/geometry/LayoutRect.h" 135 #include "platform/geometry/LayoutRect.h"
137 #include "platform/graphics/GraphicsLayer.h" 136 #include "platform/graphics/GraphicsLayer.h"
138 #include "platform/heap/Handle.h" 137 #include "platform/heap/Handle.h"
139 #include "platform/instrumentation/tracing/TraceEvent.h" 138 #include "platform/instrumentation/tracing/TraceEvent.h"
140 #include "platform/loader/fetch/MemoryCache.h" 139 #include "platform/loader/fetch/MemoryCache.h"
141 #include "platform/loader/fetch/ResourceFetcher.h" 140 #include "platform/loader/fetch/ResourceFetcher.h"
141 #include "platform/network/NetworkStateNotifier.h"
142 #include "platform/network/ResourceLoadPriority.h" 142 #include "platform/network/ResourceLoadPriority.h"
143 #include "platform/scroll/ProgrammaticScrollAnimator.h" 143 #include "platform/scroll/ProgrammaticScrollAnimator.h"
144 #include "platform/scroll/ScrollbarTheme.h" 144 #include "platform/scroll/ScrollbarTheme.h"
145 #include "platform/testing/URLTestHelpers.h" 145 #include "platform/testing/URLTestHelpers.h"
146 #include "platform/weborigin/SchemeRegistry.h" 146 #include "platform/weborigin/SchemeRegistry.h"
147 #include "public/platform/Platform.h" 147 #include "public/platform/Platform.h"
148 #include "public/platform/WebConnectionType.h" 148 #include "public/platform/WebConnectionType.h"
149 #include "public/platform/WebGraphicsContext3DProvider.h" 149 #include "public/platform/WebGraphicsContext3DProvider.h"
150 #include "public/platform/WebLayer.h" 150 #include "public/platform/WebLayer.h"
151 #include "public/platform/modules/remoteplayback/WebRemotePlaybackAvailability.h " 151 #include "public/platform/modules/remoteplayback/WebRemotePlaybackAvailability.h "
(...skipping 3063 matching lines...) Expand 10 before | Expand all | Expand 10 after
3215 3215
3216 void Internals::crash() { 3216 void Internals::crash() {
3217 CHECK(false) << "Intentional crash"; 3217 CHECK(false) << "Intentional crash";
3218 } 3218 }
3219 3219
3220 void Internals::setIsLowEndDevice(bool isLowEndDevice) { 3220 void Internals::setIsLowEndDevice(bool isLowEndDevice) {
3221 MemoryCoordinator::setIsLowEndDeviceForTesting(isLowEndDevice); 3221 MemoryCoordinator::setIsLowEndDeviceForTesting(isLowEndDevice);
3222 } 3222 }
3223 3223
3224 } // namespace blink 3224 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698