// |http_client| is the client for the resolved service, or NULL if
// resolution failed. |path| is the canonical path within the privet
// service.
- virtual void PrivetFileSystemResolved(
- PrivetHTTPClient* http_client,
- const std::string& path) = 0;
+ virtual void PrivetFileSystemResolved(PrivetV1HTTPClient* http_client,
+ const std::string& path) = 0;
};
PrivetFileSystemAsyncOperationUtil(const base::FilePath& full_path,
scoped_ptr<PrivetDeviceResolver> privet_device_resolver_;
scoped_ptr<PrivetHTTPAsynchronousFactory> privet_async_factory_;
scoped_ptr<PrivetHTTPResolution> privet_http_resolution_;
- scoped_ptr<PrivetHTTPClient> privet_client_;
+ scoped_ptr<PrivetV1HTTPClient> privet_client_;
base::WeakPtrFactory<PrivetFileSystemAsyncOperationUtil> weak_factory_;
};
virtual void Start() OVERRIDE;
- virtual void PrivetFileSystemResolved(
- PrivetHTTPClient* http_client,
- const std::string& path) OVERRIDE;
+ virtual void PrivetFileSystemResolved(PrivetV1HTTPClient* http_client,
+ const std::string& path) OVERRIDE;
private:
void OnStorageListResult(const base::DictionaryValue* value);
virtual void Start() OVERRIDE;
- virtual void PrivetFileSystemResolved(PrivetHTTPClient* http_client,
+ virtual void PrivetFileSystemResolved(PrivetV1HTTPClient* http_client,
const std::string& path) OVERRIDE;
private: