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

Unified Diff: cc/scheduler/commit_earlyout_reason.h

Issue 1533773002: Delete CC. (Closed) Base URL: git@github.com:domokit/mojo.git@cl-2e
Patch Set: rebase Created 5 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 | « cc/scheduler/begin_frame_source_unittest.cc ('k') | cc/scheduler/delay_based_time_source.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/scheduler/commit_earlyout_reason.h
diff --git a/cc/scheduler/commit_earlyout_reason.h b/cc/scheduler/commit_earlyout_reason.h
deleted file mode 100644
index 14aaeb3b7d919c765f665f16de0454b43e5af9f5..0000000000000000000000000000000000000000
--- a/cc/scheduler/commit_earlyout_reason.h
+++ /dev/null
@@ -1,40 +0,0 @@
-// Copyright 2014 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 CC_SCHEDULER_COMMIT_EARLYOUT_REASON_H_
-#define CC_SCHEDULER_COMMIT_EARLYOUT_REASON_H_
-
-#include "base/logging.h"
-
-namespace cc {
-
-enum class CommitEarlyOutReason {
- ABORTED_OUTPUT_SURFACE_LOST,
- ABORTED_NOT_VISIBLE,
- ABORTED_DEFERRED_COMMIT,
- FINISHED_NO_UPDATES,
-};
-
-inline const char* CommitEarlyOutReasonToString(CommitEarlyOutReason reason) {
- switch (reason) {
- case CommitEarlyOutReason::ABORTED_OUTPUT_SURFACE_LOST:
- return "CommitEarlyOutReason::ABORTED_OUTPUT_SURFACE_LOST";
- case CommitEarlyOutReason::ABORTED_NOT_VISIBLE:
- return "CommitEarlyOutReason::ABORTED_NOT_VISIBLE";
- case CommitEarlyOutReason::ABORTED_DEFERRED_COMMIT:
- return "CommitEarlyOutReason::ABORTED_DEFERRED_COMMIT";
- case CommitEarlyOutReason::FINISHED_NO_UPDATES:
- return "CommitEarlyOutReason::FINISHED_NO_UPDATES";
- }
- NOTREACHED();
- return "???";
-}
-
-inline bool CommitEarlyOutHandledCommit(CommitEarlyOutReason reason) {
- return reason == CommitEarlyOutReason::FINISHED_NO_UPDATES;
-}
-
-} // namespace cc
-
-#endif // CC_SCHEDULER_COMMIT_EARLYOUT_REASON_H_
« no previous file with comments | « cc/scheduler/begin_frame_source_unittest.cc ('k') | cc/scheduler/delay_based_time_source.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698