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

Unified Diff: components/startup_metric_utils/browser/startup_metric_host_impl.h

Issue 2048033004: Revert of Convert startup_metric_utils to use mojo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@message-mojom-magic
Patch Set: Created 4 years, 6 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/startup_metric_utils/browser/startup_metric_host_impl.h
diff --git a/components/startup_metric_utils/browser/startup_metric_host_impl.h b/components/startup_metric_utils/browser/startup_metric_host_impl.h
deleted file mode 100644
index cf903f37139b3e8880744f0ee677888445330d8b..0000000000000000000000000000000000000000
--- a/components/startup_metric_utils/browser/startup_metric_host_impl.h
+++ /dev/null
@@ -1,35 +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.
-
-#ifndef COMPONENTS_STARTUP_METRIC_UTILS_BROWSER_STARTUP_METRIC_HOST_IMPL_H_
-#define COMPONENTS_STARTUP_METRIC_UTILS_BROWSER_STARTUP_METRIC_HOST_IMPL_H_
-
-#include <stdint.h>
-
-#include "base/macros.h"
-#include "base/time/time.h"
-#include "components/startup_metric_utils/common/startup_metric.mojom.h"
-#include "mojo/public/cpp/bindings/strong_binding.h"
-
-namespace startup_metric_utils {
-
-class StartupMetricHostImpl : public mojom::StartupMetricHost {
- public:
- static void Create(mojom::StartupMetricHostRequest request);
-
- private:
- explicit StartupMetricHostImpl(mojom::StartupMetricHostRequest request);
- ~StartupMetricHostImpl() override;
-
- void RecordRendererMainEntryTime(
- const base::TimeTicks& renderer_main_entry_time) override;
-
- mojo::StrongBinding<mojom::StartupMetricHost> binding_;
-
- DISALLOW_COPY_AND_ASSIGN(StartupMetricHostImpl);
-};
-
-} // namespace startup_metric_utils
-
-#endif // COMPONENTS_STARTUP_METRIC_UTILS_BROWSER_STARTUP_METRIC_HOST_IMPL_H_
« no previous file with comments | « components/startup_metric_utils/browser/DEPS ('k') | components/startup_metric_utils/browser/startup_metric_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698