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

Unified Diff: cc/scheduler/commit_earlyout_reason.h

Issue 2493853002: cc/blimp: Proto Cleanup. (Closed)
Patch Set: Rebase Created 4 years, 1 month 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/proto/synced_property_conversions_unittest.cc ('k') | cc/scheduler/commit_earlyout_reason.cc » ('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
index 172288cf21702a0f3b9963796959c95e54572e3d..ff1566d9697c48abd5eec5f405836b6c5e28f353 100644
--- a/cc/scheduler/commit_earlyout_reason.h
+++ b/cc/scheduler/commit_earlyout_reason.h
@@ -10,10 +10,6 @@
namespace cc {
-namespace proto {
-class CommitEarlyOutReason;
-}
-
enum class CommitEarlyOutReason {
ABORTED_COMPOSITOR_FRAME_SINK_LOST,
ABORTED_NOT_VISIBLE,
@@ -21,14 +17,6 @@ enum class CommitEarlyOutReason {
FINISHED_NO_UPDATES,
};
-// Please update the To/From Protobuf methods for any updates made to
-// CommitEarlyOutReason enum.
-CC_EXPORT CommitEarlyOutReason
-CommitEarlyOutReasonFromProtobuf(const proto::CommitEarlyOutReason& proto);
-CC_EXPORT void CommitEarlyOutReasonToProtobuf(
- CommitEarlyOutReason reason,
- proto::CommitEarlyOutReason* proto);
-
inline const char* CommitEarlyOutReasonToString(CommitEarlyOutReason reason) {
switch (reason) {
case CommitEarlyOutReason::ABORTED_COMPOSITOR_FRAME_SINK_LOST:
« no previous file with comments | « cc/proto/synced_property_conversions_unittest.cc ('k') | cc/scheduler/commit_earlyout_reason.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698