Index: chrome/browser/local_discovery/privet_http_impl.cc |
diff --git a/chrome/browser/local_discovery/privet_http_impl.cc b/chrome/browser/local_discovery/privet_http_impl.cc |
index 17c74d96d44689041a0379c2c2e850b04c14c02b..8b72fa79ae6da399390413aaa93c0240017d4b94 100644 |
--- a/chrome/browser/local_discovery/privet_http_impl.cc |
+++ b/chrome/browser/local_discovery/privet_http_impl.cc |
@@ -45,10 +45,6 @@ const char kPrivetContentTypePDF[] = "application/pdf"; |
const char kPrivetContentTypePWGRaster[] = "image/pwg-raster"; |
const char kPrivetContentTypeAny[] = "*/*"; |
-const char kPrivetStorageListPath[] = "/privet/storage/list"; |
-const char kPrivetStorageContentPath[] = "/privet/storage/content"; |
-const char kPrivetStorageParamPathFormat[] = "path=%s"; |
- |
const char kPrivetKeyJobID[] = "job_id"; |
const int kPrivetCancelationTimeoutSeconds = 3; |
@@ -928,24 +924,4 @@ PrivetV1HTTPClientImpl::CreateLocalPrintOperation( |
new PrivetLocalPrintOperationImpl(info_client(), delegate)); |
} |
-scoped_ptr<PrivetJSONOperation> |
-PrivetV1HTTPClientImpl::CreateStorageListOperation( |
- const std::string& path, |
- const PrivetJSONOperation::ResultCallback& callback) { |
- std::string url_param = |
- base::StringPrintf(kPrivetStorageParamPathFormat, path.c_str()); |
- return scoped_ptr<PrivetJSONOperation>(new PrivetJSONOperationImpl( |
- info_client(), kPrivetStorageListPath, url_param, callback)); |
-} |
- |
-scoped_ptr<PrivetDataReadOperation> |
-PrivetV1HTTPClientImpl::CreateStorageReadOperation( |
- const std::string& path, |
- const PrivetDataReadOperation::ResultCallback& callback) { |
- std::string url_param = |
- base::StringPrintf(kPrivetStorageParamPathFormat, path.c_str()); |
- return scoped_ptr<PrivetDataReadOperation>(new PrivetDataReadOperationImpl( |
- info_client(), kPrivetStorageContentPath, url_param, callback)); |
-} |
- |
} // namespace local_discovery |