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

Side by Side Diff: third_party/WebKit/Source/core/loader/PingLoader.h

Issue 2105713002: Render process changes for ResourceTiming sizes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@resource_timing_sizes_browser_process
Patch Set: Initialise encoded_body_length for sync XHR to data: URLs Created 4 years, 5 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) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 81
82 protected: 82 protected:
83 PingLoader(LocalFrame*, ResourceRequest&, const FetchInitiatorInfo&, StoredC redentials); 83 PingLoader(LocalFrame*, ResourceRequest&, const FetchInitiatorInfo&, StoredC redentials);
84 84
85 static void start(LocalFrame*, ResourceRequest&, const FetchInitiatorInfo&, StoredCredentials = AllowStoredCredentials); 85 static void start(LocalFrame*, ResourceRequest&, const FetchInitiatorInfo&, StoredCredentials = AllowStoredCredentials);
86 86
87 void dispose(); 87 void dispose();
88 88
89 private: 89 private:
90 void didReceiveResponse(WebURLLoader*, const WebURLResponse&) final; 90 void didReceiveResponse(WebURLLoader*, const WebURLResponse&) final;
91 void didReceiveData(WebURLLoader*, const char*, int, int) final; 91 void didReceiveData(WebURLLoader*, const char*, int, int, int) final;
92 void didFinishLoading(WebURLLoader*, double, int64_t) final; 92 void didFinishLoading(WebURLLoader*, double, int64_t) final;
93 void didFail(WebURLLoader*, const WebURLError&) final; 93 void didFail(WebURLLoader*, const WebURLError&) final;
94 94
95 void timeout(Timer<PingLoader>*); 95 void timeout(Timer<PingLoader>*);
96 96
97 void didFailLoading(LocalFrame*); 97 void didFailLoading(LocalFrame*);
98 98
99 std::unique_ptr<WebURLLoader> m_loader; 99 std::unique_ptr<WebURLLoader> m_loader;
100 Timer<PingLoader> m_timeout; 100 Timer<PingLoader> m_timeout;
101 String m_url; 101 String m_url;
102 unsigned long m_identifier; 102 unsigned long m_identifier;
103 SelfKeepAlive<PingLoader> m_keepAlive; 103 SelfKeepAlive<PingLoader> m_keepAlive;
104 }; 104 };
105 105
106 } // namespace blink 106 } // namespace blink
107 107
108 #endif // PingLoader_h 108 #endif // PingLoader_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/loader/BeaconLoader.cpp ('k') | third_party/WebKit/Source/core/loader/PingLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698