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

Side by Side Diff: chrome/browser/local_discovery/privet_constants.cc

Issue 23780002: Actual cancelation of registration when cancel buttons pressed (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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 | Annotate | Revision Log
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 #include "chrome/browser/local_discovery/privet_constants.h" 5 #include "chrome/browser/local_discovery/privet_constants.h"
6 6
7 namespace local_discovery { 7 namespace local_discovery {
8 8
9 const char kPrivetKeyError[] = "error"; 9 const char kPrivetKeyError[] = "error";
10 const char kPrivetInfoKeyToken[] = "x-privet-token"; 10 const char kPrivetInfoKeyToken[] = "x-privet-token";
11 const char kPrivetKeyDeviceID[] = "device_id"; 11 const char kPrivetKeyDeviceID[] = "device_id";
12 const char kPrivetKeyClaimURL[] = "claim_url"; 12 const char kPrivetKeyClaimURL[] = "claim_url";
13 const char kPrivetKeyClaimToken[] = "token"; 13 const char kPrivetKeyClaimToken[] = "token";
14 const char kPrivetKeyTimeout[] = "timeout"; 14 const char kPrivetKeyTimeout[] = "timeout";
15 15
16 const char kPrivetErrorDeviceBusy[] = "device_busy"; 16 const char kPrivetErrorDeviceBusy[] = "device_busy";
17 const char kPrivetErrorPendingUserAction[] = "pending_user_action"; 17 const char kPrivetErrorPendingUserAction[] = "pending_user_action";
18 const char kPrivetErrorInvalidXPrivetToken[] = "invalid_x_privet_token"; 18 const char kPrivetErrorInvalidXPrivetToken[] = "invalid_x_privet_token";
19 19
20 const char kPrivetActionStart[] = "start"; 20 const char kPrivetActionStart[] = "start";
21 const char kPrivetActionGetClaimToken[] = "getClaimToken"; 21 const char kPrivetActionGetClaimToken[] = "getClaimToken";
22 const char kPrivetActionComplete[] = "complete"; 22 const char kPrivetActionComplete[] = "complete";
23 const char kPrivetActionCancel[] = "cancel";
23 24
24 const char kPrivetActionNameInfo[] = "info"; 25 const char kPrivetActionNameInfo[] = "info";
25 26
26 extern const char kPrivetDefaultDeviceType[] = "_privet._tcp.local"; 27 extern const char kPrivetDefaultDeviceType[] = "_privet._tcp.local";
27 extern const char kPrivetSubtypeTemplate[] = "%s._sub._privet._tcp.local"; 28 extern const char kPrivetSubtypeTemplate[] = "%s._sub._privet._tcp.local";
28 29
29 const char kPrivetTxtKeyName[] = "ty"; 30 const char kPrivetTxtKeyName[] = "ty";
30 const char kPrivetTxtKeyDescription[] = "note"; 31 const char kPrivetTxtKeyDescription[] = "note";
31 const char kPrivetTxtKeyURL[] = "url"; 32 const char kPrivetTxtKeyURL[] = "url";
32 const char kPrivetTxtKeyType[] = "type"; 33 const char kPrivetTxtKeyType[] = "type";
33 const char kPrivetTxtKeyID[] = "id"; 34 const char kPrivetTxtKeyID[] = "id";
34 const char kPrivetTxtKeyConnectionState[] = "cs"; 35 const char kPrivetTxtKeyConnectionState[] = "cs";
35 36
36 const char kPrivetConnectionStatusOnline[] = "online"; 37 const char kPrivetConnectionStatusOnline[] = "online";
37 const char kPrivetConnectionStatusOffline[] = "offline"; 38 const char kPrivetConnectionStatusOffline[] = "offline";
38 const char kPrivetConnectionStatusConnecting[] = "connecting"; 39 const char kPrivetConnectionStatusConnecting[] = "connecting";
39 const char kPrivetConnectionStatusNotConfigured[] = "not-configured"; 40 const char kPrivetConnectionStatusNotConfigured[] = "not-configured";
40 41
41 } // namespace local_discovery 42 } // namespace local_discovery
OLDNEW
« no previous file with comments | « chrome/browser/local_discovery/privet_constants.h ('k') | chrome/browser/local_discovery/privet_http_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698