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

Side by Side Diff: third_party/WebKit/Source/core/loader/LinkLoader.cpp

Issue 1362973004: Rename FROM_HERE to BLINK_FROM_HERE. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update Created 5 years, 2 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) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 { 88 {
89 ASSERT_UNUSED(timer, timer == &m_linkLoadingErrorTimer); 89 ASSERT_UNUSED(timer, timer == &m_linkLoadingErrorTimer);
90 m_client->linkLoadingErrored(); 90 m_client->linkLoadingErrored();
91 } 91 }
92 92
93 void LinkLoader::notifyFinished(Resource* resource) 93 void LinkLoader::notifyFinished(Resource* resource)
94 { 94 {
95 ASSERT(this->resource() == resource); 95 ASSERT(this->resource() == resource);
96 96
97 if (resource->errorOccurred()) 97 if (resource->errorOccurred())
98 m_linkLoadingErrorTimer.startOneShot(0, FROM_HERE); 98 m_linkLoadingErrorTimer.startOneShot(0, BLINK_FROM_HERE);
99 else 99 else
100 m_linkLoadTimer.startOneShot(0, FROM_HERE); 100 m_linkLoadTimer.startOneShot(0, BLINK_FROM_HERE);
101 101
102 clearResource(); 102 clearResource();
103 } 103 }
104 104
105 void LinkLoader::didStartPrerender() 105 void LinkLoader::didStartPrerender()
106 { 106 {
107 m_client->didStartLinkPrerender(); 107 m_client->didStartLinkPrerender();
108 } 108 }
109 109
110 void LinkLoader::didStopPrerender() 110 void LinkLoader::didStopPrerender()
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 m_prerender.clear(); 281 m_prerender.clear();
282 } 282 }
283 } 283 }
284 284
285 DEFINE_TRACE(LinkLoader) 285 DEFINE_TRACE(LinkLoader)
286 { 286 {
287 visitor->trace(m_prerender); 287 visitor->trace(m_prerender);
288 } 288 }
289 289
290 } 290 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/loader/ImageLoader.cpp ('k') | third_party/WebKit/Source/core/loader/NavigationScheduler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698