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

Side by Side Diff: google_apis/gcm/engine/mcs_client.h

Issue 2715593003: [spelling] succcess to success (Closed)
Patch Set: Created 3 years, 10 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 unified diff | Download patch
« no previous file with comments | « google_apis/drive/drive_api_requests.h ('k') | media/gpu/dxva_video_decode_accelerator_win.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef GOOGLE_APIS_GCM_ENGINE_MCS_CLIENT_H_ 5 #ifndef GOOGLE_APIS_GCM_ENGINE_MCS_CLIENT_H_
6 #define GOOGLE_APIS_GCM_ENGINE_MCS_CLIENT_H_ 6 #define GOOGLE_APIS_GCM_ENGINE_MCS_CLIENT_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <deque> 10 #include <deque>
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 enum State { 57 enum State {
58 UNINITIALIZED, // Uninitialized. 58 UNINITIALIZED, // Uninitialized.
59 LOADED, // GCM Load finished, waiting to connect. 59 LOADED, // GCM Load finished, waiting to connect.
60 CONNECTING, // Connection in progress. 60 CONNECTING, // Connection in progress.
61 CONNECTED, // Connected and running. 61 CONNECTED, // Connected and running.
62 }; 62 };
63 63
64 // Any change made to this enum should have corresponding change in the 64 // Any change made to this enum should have corresponding change in the
65 // GetMessageSendStatusString(...) function in mcs_client.cc. 65 // GetMessageSendStatusString(...) function in mcs_client.cc.
66 enum MessageSendStatus { 66 enum MessageSendStatus {
67 // Message was queued succcessfully. 67 // Message was queued successfully.
68 QUEUED, 68 QUEUED,
69 // Message was sent to the server and the ACK was received. 69 // Message was sent to the server and the ACK was received.
70 SENT, 70 SENT,
71 // Message not saved, because total queue size limit reached. 71 // Message not saved, because total queue size limit reached.
72 QUEUE_SIZE_LIMIT_REACHED, 72 QUEUE_SIZE_LIMIT_REACHED,
73 // Message not saved, because app queue size limit reached. 73 // Message not saved, because app queue size limit reached.
74 APP_QUEUE_SIZE_LIMIT_REACHED, 74 APP_QUEUE_SIZE_LIMIT_REACHED,
75 // Message too large to send. 75 // Message too large to send.
76 MESSAGE_TOO_LARGE, 76 MESSAGE_TOO_LARGE,
77 // Message not send becuase of TTL = 0 and no working connection. 77 // Message not send becuase of TTL = 0 and no working connection.
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 GCMStatsRecorder* recorder_; 308 GCMStatsRecorder* recorder_;
309 309
310 base::WeakPtrFactory<MCSClient> weak_ptr_factory_; 310 base::WeakPtrFactory<MCSClient> weak_ptr_factory_;
311 311
312 DISALLOW_COPY_AND_ASSIGN(MCSClient); 312 DISALLOW_COPY_AND_ASSIGN(MCSClient);
313 }; 313 };
314 314
315 } // namespace gcm 315 } // namespace gcm
316 316
317 #endif // GOOGLE_APIS_GCM_ENGINE_MCS_CLIENT_H_ 317 #endif // GOOGLE_APIS_GCM_ENGINE_MCS_CLIENT_H_
OLDNEW
« no previous file with comments | « google_apis/drive/drive_api_requests.h ('k') | media/gpu/dxva_video_decode_accelerator_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698