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

Unified Diff: third_party/WebKit/Source/platform/loader/fetch/ResourceLoader.cpp

Issue 2868923002: Blink rename follow-up: Use Chromium style in network_instrumentation namespace. (Closed)
Patch Set: Revert changes to tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/loader/fetch/ResourceLoader.cpp
diff --git a/third_party/WebKit/Source/platform/loader/fetch/ResourceLoader.cpp b/third_party/WebKit/Source/platform/loader/fetch/ResourceLoader.cpp
index 93c6c694f2475058feeace3c752d06cb74ff0ac8..f6b7668302acbf18b9d38fa9087c5379008a0b3b 100644
--- a/third_party/WebKit/Source/platform/loader/fetch/ResourceLoader.cpp
+++ b/third_party/WebKit/Source/platform/loader/fetch/ResourceLoader.cpp
@@ -410,9 +410,9 @@ void ResourceLoader::DidReceiveTransferSizeUpdate(int transfer_size_diff) {
}
void ResourceLoader::DidFinishLoadingFirstPartInMultipart() {
- network_instrumentation::endResourceLoad(
+ network_instrumentation::EndResourceLoad(
resource_->Identifier(),
- network_instrumentation::RequestOutcome::Success);
+ network_instrumentation::RequestOutcome::kSuccess);
fetcher_->HandleLoaderFinish(resource_.Get(), 0,
ResourceFetcher::kDidFinishFirstPartInMultipart);
@@ -428,9 +428,9 @@ void ResourceLoader::DidFinishLoading(double finish_time,
loader_.reset();
- network_instrumentation::endResourceLoad(
+ network_instrumentation::EndResourceLoad(
resource_->Identifier(),
- network_instrumentation::RequestOutcome::Success);
+ network_instrumentation::RequestOutcome::kSuccess);
fetcher_->HandleLoaderFinish(resource_.Get(), finish_time,
ResourceFetcher::kDidFinishLoading);
@@ -457,8 +457,8 @@ void ResourceLoader::HandleError(const ResourceError& error) {
loader_.reset();
- network_instrumentation::endResourceLoad(
- resource_->Identifier(), network_instrumentation::RequestOutcome::Fail);
+ network_instrumentation::EndResourceLoad(
+ resource_->Identifier(), network_instrumentation::RequestOutcome::kFail);
fetcher_->HandleLoaderError(resource_.Get(), error);
}

Powered by Google App Engine
This is Rietveld 408576698