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

Side by Side Diff: third_party/WebKit/Source/platform/network/NetworkInstrumentation.h

Issue 2746113002: platform/loader: move network/Resource* to loader/fetch (Closed)
Patch Set: git rebase master 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 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 NetworkInstrumentation_h 5 #ifndef NetworkInstrumentation_h
6 #define NetworkInstrumentation_h 6 #define NetworkInstrumentation_h
7 7
8 #include "platform/PlatformExport.h" 8 #include "platform/PlatformExport.h"
9 #include "platform/network/ResourceLoadPriority.h" 9 #include "platform/loader/fetch/ResourceLoadPriority.h"
10 10
11 namespace blink { 11 namespace blink {
12 class ResourceRequest; 12 class ResourceRequest;
13 } // namespace blink 13 } // namespace blink
14 14
15 namespace network_instrumentation { 15 namespace network_instrumentation {
16 16
17 enum RequestOutcome { Success, Fail }; 17 enum RequestOutcome { Success, Fail };
18 18
19 class PLATFORM_EXPORT ScopedResourceLoadTracker { 19 class PLATFORM_EXPORT ScopedResourceLoadTracker {
(...skipping 13 matching lines...) Expand all
33 }; 33 };
34 34
35 void PLATFORM_EXPORT resourcePrioritySet(unsigned long resourceID, 35 void PLATFORM_EXPORT resourcePrioritySet(unsigned long resourceID,
36 blink::ResourceLoadPriority); 36 blink::ResourceLoadPriority);
37 37
38 void PLATFORM_EXPORT endResourceLoad(unsigned long resourceID, RequestOutcome); 38 void PLATFORM_EXPORT endResourceLoad(unsigned long resourceID, RequestOutcome);
39 39
40 } // namespace network_instrumentation 40 } // namespace network_instrumentation
41 41
42 #endif // NetworkInstrumentation_h 42 #endif // NetworkInstrumentation_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698