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

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

Issue 2444783002: Add trace event for complete network request (Closed)
Patch Set: Created 4 years, 1 month 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
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
caseq 2016/10/24 22:47:46 This rather needs to be somewhere under platorm/ne
dproy 2016/11/03 15:13:37 Done.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef NetworkInstrumentation_h
6 #define NetworkInstrumentation_h
7
8 #include "platform/PlatformExport.h"
9
10 namespace network_instrumentation {
11
12 const char kNetInstrumentationCategory[] = "NetworkInstrumentation";
chiniforooshan 2016/10/24 19:25:37 Lower case category names seem to be more popular.
chiniforooshan 2016/10/24 19:25:37 What do you think about TRACE_DISABLED_BY_DEFAULT(
dproy 2016/11/03 15:13:37 Changed the cat name. Disabled by default sounds g
13
14 void PLATFORM_EXPORT beginResourceLoad(unsigned long resourceID,
15 const char* url);
16
17 void PLATFORM_EXPORT endResourceLoad(unsigned long resourceID);
18
19 } // namespace network_instrumentati
20
21 #endif // NetworkInstrumentation_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698