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

Unified Diff: content/common/gpu/client/command_buffer_metrics.h

Issue 2584363002: gpu: Move ContextProviderCommandBuffer into mus gpu client-lib. (Closed)
Patch Set: tot merge Created 4 years 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
« no previous file with comments | « content/common/BUILD.gn ('k') | content/common/gpu/client/command_buffer_metrics.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/client/command_buffer_metrics.h
diff --git a/content/common/gpu/client/command_buffer_metrics.h b/content/common/gpu/client/command_buffer_metrics.h
deleted file mode 100644
index f508fa7d8aee6a83fd03493824d4281841418ace..0000000000000000000000000000000000000000
--- a/content/common/gpu/client/command_buffer_metrics.h
+++ /dev/null
@@ -1,43 +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 CONTENT_COMMON_GPU_CLIENT_COMMAND_BUFFER_METRICS_H_
-#define CONTENT_COMMON_GPU_CLIENT_COMMAND_BUFFER_METRICS_H_
-
-#include <string>
-
-#include "gpu/command_buffer/common/constants.h"
-
-namespace content {
-namespace command_buffer_metrics {
-
-enum ContextType {
- DISPLAY_COMPOSITOR_ONSCREEN_CONTEXT,
- BROWSER_OFFSCREEN_MAINTHREAD_CONTEXT,
- BROWSER_WORKER_CONTEXT,
- RENDER_COMPOSITOR_CONTEXT,
- RENDER_WORKER_CONTEXT,
- RENDERER_MAINTHREAD_CONTEXT,
- GPU_VIDEO_ACCELERATOR_CONTEXT,
- OFFSCREEN_VIDEO_CAPTURE_CONTEXT,
- OFFSCREEN_CONTEXT_FOR_WEBGL,
- CONTEXT_TYPE_UNKNOWN,
- MEDIA_CONTEXT,
- BLIMP_RENDER_COMPOSITOR_CONTEXT,
- BLIMP_RENDER_WORKER_CONTEXT,
- OFFSCREEN_CONTEXT_FOR_TESTING = CONTEXT_TYPE_UNKNOWN,
-};
-
-std::string ContextTypeToString(ContextType type);
-
-void UmaRecordContextInitFailed(ContextType type);
-
-void UmaRecordContextLost(ContextType type,
- gpu::error::Error error,
- gpu::error::ContextLostReason reason);
-
-} // namespace command_buffer_metrics
-} // namespace content
-
-#endif // CONTENT_COMMON_GPU_CLIENT_COMMAND_BUFFER_METRICS_H_
« no previous file with comments | « content/common/BUILD.gn ('k') | content/common/gpu/client/command_buffer_metrics.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698