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

Unified Diff: components/copresence/proto/codes.proto

Issue 419073002: Add the copresence DirectiveHandler. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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/copresence/proto/codes.proto
diff --git a/components/copresence/proto/codes.proto b/components/copresence/proto/codes.proto
new file mode 100644
index 0000000000000000000000000000000000000000..3459f2693955f65756cccb8ab5094ec060f12e66
--- /dev/null
+++ b/components/copresence/proto/codes.proto
@@ -0,0 +1,23 @@
+syntax = "proto2";
xiyuan 2014/07/25 21:02:10 nit: Do we have style guild for proto buf definiti
rkc 2014/07/28 21:02:03 These files are auto-generated using Google3 tools
+package util.error;
+option optimize_for = LITE_RUNTIME;
+enum Code {
Daniel Erat 2014/07/28 21:18:19 why isn't this in enums.proto?
rkc 2014/07/29 00:33:36 This isn't code we control, this is pulled from Go
+ OK = 0;
Daniel Erat 2014/07/28 21:18:19 are these all documented somewhere else?
rkc 2014/07/29 00:33:36 In the original protos on Google3.
+ CANCELLED = 1;
+ UNKNOWN = 2;
+ INVALID_ARGUMENT = 3;
+ DEADLINE_EXCEEDED = 4;
+ NOT_FOUND = 5;
+ ALREADY_EXISTS = 6;
+ PERMISSION_DENIED = 7;
+ UNAUTHENTICATED = 16;
+ RESOURCE_EXHAUSTED = 8;
+ FAILED_PRECONDITION = 9;
+ ABORTED = 10;
+ OUT_OF_RANGE = 11;
+ UNIMPLEMENTED = 12;
+ INTERNAL = 13;
+ UNAVAILABLE = 14;
+ DATA_LOSS = 15;
+ DO_NOT_USE_RESERVED_FOR_FUTURE_EXPANSION_USE_DEFAULT_IN_SWITCH_INSTEAD_ = 20;
+}

Powered by Google App Engine
This is Rietveld 408576698