HomeSort by relevance Sort by last modified time
    Searched refs:PrivetURLFetcher (Results 1 - 5 of 5) sorted by null

  /external/chromium_org/chrome/browser/local_discovery/
privet_http_impl.h 22 public PrivetURLFetcher::Delegate {
32 virtual void OnError(PrivetURLFetcher* fetcher,
33 PrivetURLFetcher::ErrorType error) OVERRIDE;
34 virtual void OnParsedJson(PrivetURLFetcher* fetcher,
41 scoped_ptr<PrivetURLFetcher> url_fetcher_;
46 public PrivetURLFetcher::Delegate,
59 virtual void OnError(PrivetURLFetcher* fetcher,
60 PrivetURLFetcher::ErrorType error) OVERRIDE;
62 virtual void OnParsedJson(PrivetURLFetcher* fetcher,
67 PrivetURLFetcher* fetcher
    [all...]
privet_url_fetcher.cc 28 void PrivetURLFetcher::Delegate::OnNeedPrivetToken(
29 PrivetURLFetcher* fetcher,
34 PrivetURLFetcher::PrivetURLFetcher(
39 PrivetURLFetcher::Delegate* delegate)
46 PrivetURLFetcher::~PrivetURLFetcher() {
49 void PrivetURLFetcher::DoNotRetryOnTransientError() {
53 void PrivetURLFetcher::AllowEmptyPrivetToken() {
57 void PrivetURLFetcher::Try()
    [all...]
privet_url_fetcher.h 29 class PrivetURLFetcher : public net::URLFetcherDelegate {
48 PrivetURLFetcher* fetcher,
50 virtual void OnError(PrivetURLFetcher* fetcher, ErrorType error) = 0;
51 virtual void OnParsedJson(PrivetURLFetcher* fetcher,
56 PrivetURLFetcher(
62 virtual ~PrivetURLFetcher();
103 base::WeakPtrFactory<PrivetURLFetcher> weak_factory_;
104 DISALLOW_COPY_AND_ASSIGN(PrivetURLFetcher);
113 scoped_ptr<PrivetURLFetcher> CreateURLFetcher(
116 PrivetURLFetcher::Delegate* delegate) const
    [all...]
privet_url_fetcher_unittest.cc 26 class MockPrivetURLFetcherDelegate : public PrivetURLFetcher::Delegate {
28 virtual void OnError(PrivetURLFetcher* fetcher,
29 PrivetURLFetcher::ErrorType error) OVERRIDE {
33 MOCK_METHOD1(OnErrorInternal, void(PrivetURLFetcher::ErrorType error));
35 virtual void OnParsedJson(PrivetURLFetcher* fetcher,
45 PrivetURLFetcher* fetcher,
46 const PrivetURLFetcher::TokenCallback& callback) {
60 privet_urlfetcher_.reset(new PrivetURLFetcher(
88 scoped_ptr<PrivetURLFetcher> privet_urlfetcher_;
169 OnErrorInternal(PrivetURLFetcher::RESPONSE_CODE_ERROR))
    [all...]
privet_http_impl.cc 89 void PrivetInfoOperationImpl::OnError(PrivetURLFetcher* fetcher,
90 PrivetURLFetcher::ErrorType error) {
91 if (error == PrivetURLFetcher::RESPONSE_CODE_ERROR) {
98 void PrivetInfoOperationImpl::OnParsedJson(PrivetURLFetcher* fetcher,
153 void PrivetRegisterOperationImpl::OnError(PrivetURLFetcher* fetcher,
154 PrivetURLFetcher::ErrorType error) {
159 if (error == PrivetURLFetcher::RESPONSE_CODE_ERROR) {
162 } else if (error == PrivetURLFetcher::JSON_PARSE_ERROR) {
164 } else if (error == PrivetURLFetcher::TOKEN_ERROR) {
166 } else if (error == PrivetURLFetcher::RETRY_ERROR)
    [all...]

Completed in 158 milliseconds