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

Unified Diff: chrome/browser/local_discovery/privet_constants.cc

Issue 1553333002: Move cloud print specific files out of local_discovery (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@moveprn
Patch Set: Created 4 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/local_discovery/privet_constants.cc
diff --git a/chrome/browser/local_discovery/privet_constants.cc b/chrome/browser/local_discovery/privet_constants.cc
deleted file mode 100644
index a148901a87100168b92b099465b0e8a4fbd12c45..0000000000000000000000000000000000000000
--- a/chrome/browser/local_discovery/privet_constants.cc
+++ /dev/null
@@ -1,64 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "chrome/browser/local_discovery/privet_constants.h"
-
-namespace local_discovery {
-
-const char kPrivetKeyError[] = "error";
-const char kPrivetInfoKeyToken[] = "x-privet-token";
-const char kPrivetInfoKeyAPIList[] = "api";
-const char kPrivetInfoKeyID[] = "id";
-const char kPrivetKeyDeviceID[] = "device_id";
-const char kPrivetKeyClaimURL[] = "claim_url";
-const char kPrivetKeyClaimToken[] = "token";
-const char kPrivetKeyTimeout[] = "timeout";
-
-const char kPrivetActionNameInfo[] = "info";
-
-const char kPrivetInfoPath[] = "/privet/info";
-const char kPrivetRegisterPath[] = "/privet/register";
-const char kPrivetCapabilitiesPath[] = "/privet/capabilities";
-const char kPrivetSubmitdocPath[] = "/privet/printer/submitdoc";
-const char kPrivetCreatejobPath[] = "/privet/printer/createjob";
-
-const char kPrivetErrorDeviceBusy[] = "device_busy";
-const char kPrivetErrorPrinterBusy[] = "printer_busy";
-const char kPrivetErrorInvalidPrintJob[] = "invalid_print_job";
-const char kPrivetErrorInvalidDocumentType[] = "invalid_document_type";
-const char kPrivetErrorPendingUserAction[] = "pending_user_action";
-const char kPrivetErrorInvalidXPrivetToken[] = "invalid_x_privet_token";
-const char kPrivetErrorTimeout[] = "confirmation_timeout";
-const char kPrivetErrorCancel[] = "user_cancel";
-
-const char kPrivetV3ErrorDeviceBusy[] = "deviceBusy";
-const char kPrivetV3ErrorInvalidParams[] = "invalidParams";
-const char kPrivetV3ErrorSetupUnavailable[] = "setupUnavailable";
-
-const char kPrivetActionStart[] = "start";
-const char kPrivetActionGetClaimToken[] = "getClaimToken";
-const char kPrivetActionComplete[] = "complete";
-const char kPrivetActionCancel[] = "cancel";
-
-const char kPrivetDefaultDeviceType[] = "_privet._tcp.local";
-const char kPrivetSubtypeTemplate[] = "%s._sub._privet._tcp.local";
-
-const char kPrivetTypePrinter[] = "printer";
-
-const char kPrivetTxtKeyName[] = "ty";
-const char kPrivetTxtKeyDescription[] = "note";
-const char kPrivetTxtKeyURL[] = "url";
-const char kPrivetTxtKeyVersion[] = "txtvers";
-const char kPrivetTxtKeyType[] = "type";
-const char kPrivetTxtKeyID[] = "id";
-const char kPrivetTxtKeyConnectionState[] = "cs";
-const char kPrivetTxtKeyGcdID[] = "gcd_id";
-const char kPrivetTxtKeyDevicesClass[] = "class";
-
-const char kPrivetConnectionStatusOnline[] = "online";
-const char kPrivetConnectionStatusOffline[] = "offline";
-const char kPrivetConnectionStatusConnecting[] = "connecting";
-const char kPrivetConnectionStatusNotConfigured[] = "not-configured";
-
-} // namespace local_discovery
« no previous file with comments | « chrome/browser/local_discovery/privet_constants.h ('k') | chrome/browser/local_discovery/privet_device_lister.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698