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

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

Issue 492693004: Delete Privet filesystem code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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_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
« no previous file with comments | « chrome/browser/local_discovery/privet_http_impl.h ('k') | chrome/browser/local_discovery/privet_http_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698