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

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

Issue 861523002: Updated parsing of PrivetV3 mDns record. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Mon Jan 26 13:26:30 PST 2015 Created 5 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
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";
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
OLDNEW
« no previous file with comments | « chrome/browser/local_discovery/privet_constants.h ('k') | chrome/browser/local_discovery/privet_device_lister_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698