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

Side by Side Diff: chrome/browser/page_load_metrics/page_load_metrics_observer.h

Issue 2952343004: Adding previews information to PLM UKM (Closed)
Patch Set: rebase Created 3 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 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_PAGE_LOAD_METRICS_PAGE_LOAD_METRICS_OBSERVER_H_ 5 #ifndef CHROME_BROWSER_PAGE_LOAD_METRICS_PAGE_LOAD_METRICS_OBSERVER_H_
6 #define CHROME_BROWSER_PAGE_LOAD_METRICS_PAGE_LOAD_METRICS_OBSERVER_H_ 6 #define CHROME_BROWSER_PAGE_LOAD_METRICS_PAGE_LOAD_METRICS_OBSERVER_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
(...skipping 433 matching lines...) Expand 10 before | Expand all | Expand 10 after
444 // commit, immediately before the observer is deleted. 444 // commit, immediately before the observer is deleted.
445 virtual void OnFailedProvisionalLoad( 445 virtual void OnFailedProvisionalLoad(
446 const FailedProvisionalLoadInfo& failed_provisional_load_info, 446 const FailedProvisionalLoadInfo& failed_provisional_load_info,
447 const PageLoadExtraInfo& extra_info) {} 447 const PageLoadExtraInfo& extra_info) {}
448 448
449 // Called whenever a request is loaded for this page load. This comes 449 // Called whenever a request is loaded for this page load. This comes
450 // unfiltered from the ResourceDispatcherHost and may include blob requests 450 // unfiltered from the ResourceDispatcherHost and may include blob requests
451 // and data uris. 451 // and data uris.
452 virtual void OnLoadedResource( 452 virtual void OnLoadedResource(
453 const ExtraRequestCompleteInfo& extra_request_complete_info) {} 453 const ExtraRequestCompleteInfo& extra_request_complete_info) {}
454
455 // Called when the event corresponding to |event_key| occurs in this page
456 // load.
457 virtual void OnEventOccurred(const void* const event_key) {}
454 }; 458 };
455 459
456 } // namespace page_load_metrics 460 } // namespace page_load_metrics
457 461
458 #endif // CHROME_BROWSER_PAGE_LOAD_METRICS_PAGE_LOAD_METRICS_OBSERVER_H_ 462 #endif // CHROME_BROWSER_PAGE_LOAD_METRICS_PAGE_LOAD_METRICS_OBSERVER_H_
OLDNEW
« no previous file with comments | « chrome/browser/page_load_metrics/page_load_metrics_initialize.cc ('k') | chrome/browser/page_load_metrics/page_load_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698