OLD | NEW |
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"; |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 | 46 |
47 const char kPrivetTypePrinter[] = "printer"; | 47 const char kPrivetTypePrinter[] = "printer"; |
48 | 48 |
49 const char kPrivetTxtKeyName[] = "ty"; | 49 const char kPrivetTxtKeyName[] = "ty"; |
50 const char kPrivetTxtKeyDescription[] = "note"; | 50 const char kPrivetTxtKeyDescription[] = "note"; |
51 const char kPrivetTxtKeyURL[] = "url"; | 51 const char kPrivetTxtKeyURL[] = "url"; |
52 const char kPrivetTxtKeyVersion[] = "txtvers"; | 52 const char kPrivetTxtKeyVersion[] = "txtvers"; |
53 const char kPrivetTxtKeyType[] = "type"; | 53 const char kPrivetTxtKeyType[] = "type"; |
54 const char kPrivetTxtKeyID[] = "id"; | 54 const char kPrivetTxtKeyID[] = "id"; |
55 const char kPrivetTxtKeyConnectionState[] = "cs"; | 55 const char kPrivetTxtKeyConnectionState[] = "cs"; |
| 56 const char kPrivetTxtKeyGcdID[] = "gcd_id"; |
| 57 const char kPrivetTxtKeyDevicesClass[] = "class"; |
56 | 58 |
57 const char kPrivetConnectionStatusOnline[] = "online"; | 59 const char kPrivetConnectionStatusOnline[] = "online"; |
58 const char kPrivetConnectionStatusOffline[] = "offline"; | 60 const char kPrivetConnectionStatusOffline[] = "offline"; |
59 const char kPrivetConnectionStatusConnecting[] = "connecting"; | 61 const char kPrivetConnectionStatusConnecting[] = "connecting"; |
60 const char kPrivetConnectionStatusNotConfigured[] = "not-configured"; | 62 const char kPrivetConnectionStatusNotConfigured[] = "not-configured"; |
61 | 63 |
62 } // namespace local_discovery | 64 } // namespace local_discovery |
OLD | NEW |