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

Side by Side Diff: third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp

Issue 1447563002: Implement frame attribution (FrameBlamer) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make sure blame context is initialized early enough Created 4 years, 8 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) 2009, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved.
3 * Copyright (C) 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2011 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 1031 matching lines...) Expand 10 before | Expand all | Expand 10 after
1042 } 1042 }
1043 1043
1044 void FrameLoaderClientImpl::suddenTerminationDisablerChanged(bool present, Sudde nTerminationDisablerType type) 1044 void FrameLoaderClientImpl::suddenTerminationDisablerChanged(bool present, Sudde nTerminationDisablerType type)
1045 { 1045 {
1046 if (m_webFrame->client()) { 1046 if (m_webFrame->client()) {
1047 m_webFrame->client()->suddenTerminationDisablerChanged( 1047 m_webFrame->client()->suddenTerminationDisablerChanged(
1048 present, static_cast<WebFrameClient::SuddenTerminationDisablerType>( type)); 1048 present, static_cast<WebFrameClient::SuddenTerminationDisablerType>( type));
1049 } 1049 }
1050 } 1050 }
1051 1051
1052 BlameContext* FrameLoaderClientImpl::frameBlameContext()
1053 {
1054 if (!m_webFrame->client())
1055 return nullptr;
1056 return m_webFrame->client()->frameBlameContext();
1057 }
1058
1052 PassOwnPtrWillBeRawPtr<LinkResource> FrameLoaderClientImpl::createServiceWorkerL inkResource(HTMLLinkElement* owner) 1059 PassOwnPtrWillBeRawPtr<LinkResource> FrameLoaderClientImpl::createServiceWorkerL inkResource(HTMLLinkElement* owner)
1053 { 1060 {
1054 return ServiceWorkerLinkResource::create(owner); 1061 return ServiceWorkerLinkResource::create(owner);
1055 } 1062 }
1056 1063
1057 } // namespace blink 1064 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/FrameLoaderClientImpl.h ('k') | third_party/WebKit/public/platform/BlameContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698