17dbb3d5cf0c15f500944d211057644d6a2f37371Ben Murdoch// Copyright 2013 The Chromium Authors. All rights reserved. 27dbb3d5cf0c15f500944d211057644d6a2f37371Ben Murdoch// Use of this source code is governed by a BSD-style license that can be 37dbb3d5cf0c15f500944d211057644d6a2f37371Ben Murdoch// found in the LICENSE file. 47dbb3d5cf0c15f500944d211057644d6a2f37371Ben Murdoch 57dbb3d5cf0c15f500944d211057644d6a2f37371Ben Murdoch#ifndef CHROME_BROWSER_LOCAL_DISCOVERY_PRIVET_CONSTANTS_H_ 67dbb3d5cf0c15f500944d211057644d6a2f37371Ben Murdoch#define CHROME_BROWSER_LOCAL_DISCOVERY_PRIVET_CONSTANTS_H_ 77dbb3d5cf0c15f500944d211057644d6a2f37371Ben Murdoch 87dbb3d5cf0c15f500944d211057644d6a2f37371Ben Murdochnamespace local_discovery { 97dbb3d5cf0c15f500944d211057644d6a2f37371Ben Murdoch 107dbb3d5cf0c15f500944d211057644d6a2f37371Ben Murdochextern const char kPrivetKeyError[]; 117dbb3d5cf0c15f500944d211057644d6a2f37371Ben Murdochextern const char kPrivetInfoKeyToken[]; 121e9bf3e0803691d0a228da41fc608347b6db4340Torne (Richard Coles)extern const char kPrivetInfoKeyAPIList[]; 131e9bf3e0803691d0a228da41fc608347b6db4340Torne (Richard Coles)extern const char kPrivetInfoKeyID[]; 147dbb3d5cf0c15f500944d211057644d6a2f37371Ben Murdochextern const char kPrivetKeyDeviceID[]; 157dbb3d5cf0c15f500944d211057644d6a2f37371Ben Murdochextern const char kPrivetKeyClaimURL[]; 167dbb3d5cf0c15f500944d211057644d6a2f37371Ben Murdochextern const char kPrivetKeyClaimToken[]; 177dbb3d5cf0c15f500944d211057644d6a2f37371Ben Murdochextern const char kPrivetKeyTimeout[]; 187dbb3d5cf0c15f500944d211057644d6a2f37371Ben Murdoch 190f1bc08d4cfcc34181b0b5cbf065c40f687bf740Torne (Richard Coles)extern const char kPrivetActionNameInfo[]; 200f1bc08d4cfcc34181b0b5cbf065c40f687bf740Torne (Richard Coles) 21f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles)extern const char kPrivetInfoPath[]; 22f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles)extern const char kPrivetRegisterPath[]; 23f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles)extern const char kPrivetCapabilitiesPath[]; 24f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles)extern const char kPrivetSubmitdocPath[]; 25f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles)extern const char kPrivetCreatejobPath[]; 26f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles) 277dbb3d5cf0c15f500944d211057644d6a2f37371Ben Murdochextern const char kPrivetErrorDeviceBusy[]; 28f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles)extern const char kPrivetErrorPrinterBusy[]; 29f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles)extern const char kPrivetErrorInvalidPrintJob[]; 30f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles)extern const char kPrivetErrorInvalidDocumentType[]; 317dbb3d5cf0c15f500944d211057644d6a2f37371Ben Murdochextern const char kPrivetErrorPendingUserAction[]; 327dbb3d5cf0c15f500944d211057644d6a2f37371Ben Murdochextern const char kPrivetErrorInvalidXPrivetToken[]; 334e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)extern const char kPrivetErrorTimeout[]; 344e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)extern const char kPrivetErrorCancel[]; 357dbb3d5cf0c15f500944d211057644d6a2f37371Ben Murdoch 36116680a4aac90f2aa7413d9095a592090648e557Ben Murdochextern const char kPrivetV3ErrorDeviceBusy[]; 37116680a4aac90f2aa7413d9095a592090648e557Ben Murdochextern const char kPrivetV3ErrorInvalidParams[]; 38116680a4aac90f2aa7413d9095a592090648e557Ben Murdochextern const char kPrivetV3ErrorSetupUnavailable[]; 39116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch 407dbb3d5cf0c15f500944d211057644d6a2f37371Ben Murdochextern const char kPrivetActionStart[]; 417dbb3d5cf0c15f500944d211057644d6a2f37371Ben Murdochextern const char kPrivetActionGetClaimToken[]; 427dbb3d5cf0c15f500944d211057644d6a2f37371Ben Murdochextern const char kPrivetActionComplete[]; 4358537e28ecd584eab876aee8be7156509866d23aTorne (Richard Coles)extern const char kPrivetActionCancel[]; 447dbb3d5cf0c15f500944d211057644d6a2f37371Ben Murdoch 457dbb3d5cf0c15f500944d211057644d6a2f37371Ben Murdochextern const char kPrivetDefaultDeviceType[]; 467dbb3d5cf0c15f500944d211057644d6a2f37371Ben Murdochextern const char kPrivetSubtypeTemplate[]; 47a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) 48a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)extern const char kPrivetTypePrinter[]; 497dbb3d5cf0c15f500944d211057644d6a2f37371Ben Murdoch 507dbb3d5cf0c15f500944d211057644d6a2f37371Ben Murdochconst double kPrivetMaximumTimeScaling = 1.2; 517dbb3d5cf0c15f500944d211057644d6a2f37371Ben Murdoch 527dbb3d5cf0c15f500944d211057644d6a2f37371Ben Murdochextern const char kPrivetTxtKeyName[]; 537dbb3d5cf0c15f500944d211057644d6a2f37371Ben Murdochextern const char kPrivetTxtKeyDescription[]; 547dbb3d5cf0c15f500944d211057644d6a2f37371Ben Murdochextern const char kPrivetTxtKeyURL[]; 5546d4c2bc3267f3f028f39e7e311b0f89aba2e4fdTorne (Richard Coles)extern const char kPrivetTxtKeyVersion[]; 567dbb3d5cf0c15f500944d211057644d6a2f37371Ben Murdochextern const char kPrivetTxtKeyType[]; 577dbb3d5cf0c15f500944d211057644d6a2f37371Ben Murdochextern const char kPrivetTxtKeyID[]; 587dbb3d5cf0c15f500944d211057644d6a2f37371Ben Murdochextern const char kPrivetTxtKeyConnectionState[]; 597dbb3d5cf0c15f500944d211057644d6a2f37371Ben Murdoch 607dbb3d5cf0c15f500944d211057644d6a2f37371Ben Murdochextern const char kPrivetConnectionStatusOnline[]; 617dbb3d5cf0c15f500944d211057644d6a2f37371Ben Murdochextern const char kPrivetConnectionStatusOffline[]; 627dbb3d5cf0c15f500944d211057644d6a2f37371Ben Murdochextern const char kPrivetConnectionStatusConnecting[]; 637dbb3d5cf0c15f500944d211057644d6a2f37371Ben Murdochextern const char kPrivetConnectionStatusNotConfigured[]; 647dbb3d5cf0c15f500944d211057644d6a2f37371Ben Murdoch 657dbb3d5cf0c15f500944d211057644d6a2f37371Ben Murdochconst int kPrivetDefaultTimeout = 15; 667dbb3d5cf0c15f500944d211057644d6a2f37371Ben Murdoch 677dbb3d5cf0c15f500944d211057644d6a2f37371Ben Murdochconst double kPrivetMaximumTimeRandomAddition = 0.2; 687dbb3d5cf0c15f500944d211057644d6a2f37371Ben Murdoch 69f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles)const int kPrivetMinimumTimeout = 2; 70f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles) 7158537e28ecd584eab876aee8be7156509866d23aTorne (Richard Coles)const int kAccountIndexUseOAuth2 = -1; 7258537e28ecd584eab876aee8be7156509866d23aTorne (Richard Coles) 737dbb3d5cf0c15f500944d211057644d6a2f37371Ben Murdoch} // namespace local_discovery 747dbb3d5cf0c15f500944d211057644d6a2f37371Ben Murdoch 757dbb3d5cf0c15f500944d211057644d6a2f37371Ben Murdoch#endif // CHROME_BROWSER_LOCAL_DISCOVERY_PRIVET_CONSTANTS_H_ 76