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

Unified Diff: components/page_load_metrics/browser/page_load_metrics_observer.cc

Issue 2177743002: Migrate page_load_metrics out of components. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: migrate page_load_metrics_messages to common message generator 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 side-by-side diff with in-line comments
Download patch
Index: components/page_load_metrics/browser/page_load_metrics_observer.cc
diff --git a/components/page_load_metrics/browser/page_load_metrics_observer.cc b/components/page_load_metrics/browser/page_load_metrics_observer.cc
deleted file mode 100644
index 6b87b6266cdabde6dcc7c8b287979396053faa01..0000000000000000000000000000000000000000
--- a/components/page_load_metrics/browser/page_load_metrics_observer.cc
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "components/page_load_metrics/browser/page_load_metrics_observer.h"
-
-namespace page_load_metrics {
-
-PageLoadExtraInfo::PageLoadExtraInfo(
- const base::Optional<base::TimeDelta>& first_background_time,
- const base::Optional<base::TimeDelta>& first_foreground_time,
- bool started_in_foreground,
- const GURL& committed_url,
- const base::Optional<base::TimeDelta>& time_to_commit,
- UserAbortType abort_type,
- const base::Optional<base::TimeDelta>& time_to_abort,
- const PageLoadMetadata& metadata)
- : first_background_time(first_background_time),
- first_foreground_time(first_foreground_time),
- started_in_foreground(started_in_foreground),
- committed_url(committed_url),
- time_to_commit(time_to_commit),
- abort_type(abort_type),
- time_to_abort(time_to_abort),
- metadata(metadata) {}
-
-PageLoadExtraInfo::PageLoadExtraInfo(const PageLoadExtraInfo& other) = default;
-
-PageLoadExtraInfo::~PageLoadExtraInfo() {}
-
-FailedProvisionalLoadInfo::FailedProvisionalLoadInfo(base::TimeDelta interval,
- net::Error error)
- : time_to_failed_provisional_load(interval), error(error) {}
-
-FailedProvisionalLoadInfo::~FailedProvisionalLoadInfo() {}
-
-} // namespace page_load_metrics

Powered by Google App Engine
This is Rietveld 408576698