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_url_fetcher.cc 19 PrivetURLFetcher::PrivetURLFetcher(
24 PrivetURLFetcher::Delegate* delegate)
36 PrivetURLFetcher::~PrivetURLFetcher() {
39 void PrivetURLFetcher::Start() {
43 void PrivetURLFetcher::OnURLFetchComplete(const net::URLFetcher* source) {
90 scoped_ptr<PrivetURLFetcher> PrivetURLFetcherFactory::CreateURLFetcher(
92 PrivetURLFetcher::Delegate* delegate) const {
93 return scoped_ptr<PrivetURLFetcher>(
    [all...]
privet_url_fetcher.h 22 class PrivetURLFetcher : public net::URLFetcherDelegate {
34 virtual void OnError(PrivetURLFetcher* fetcher, ErrorType error) = 0;
35 virtual void OnParsedJson(PrivetURLFetcher* fetcher,
40 PrivetURLFetcher(
46 virtual ~PrivetURLFetcher();
60 DISALLOW_COPY_AND_ASSIGN(PrivetURLFetcher);
69 scoped_ptr<PrivetURLFetcher> CreateURLFetcher(
71 PrivetURLFetcher::Delegate* delegate) const;
privet_http_impl.h 19 public PrivetURLFetcher::Delegate {
27 virtual void OnError(PrivetURLFetcher* fetcher,
28 PrivetURLFetcher::ErrorType error) OVERRIDE;
29 virtual void OnParsedJson(PrivetURLFetcher* fetcher,
36 scoped_ptr<PrivetURLFetcher> url_fetcher_;
41 public PrivetURLFetcher::Delegate,
54 virtual void OnError(PrivetURLFetcher* fetcher,
55 PrivetURLFetcher::ErrorType error) OVERRIDE;
57 virtual void OnParsedJson(PrivetURLFetcher* fetcher,
80 scoped_ptr<PrivetURLFetcher> url_fetcher_
    [all...]
privet_url_fetcher_unittest.cc 25 class MockPrivetURLFetcherDelegate : public PrivetURLFetcher::Delegate {
27 virtual void OnError(PrivetURLFetcher* fetcher,
28 PrivetURLFetcher::ErrorType error) OVERRIDE {
32 MOCK_METHOD1(OnErrorInternal, void(PrivetURLFetcher::ErrorType error));
34 virtual void OnParsedJson(PrivetURLFetcher* fetcher,
54 privet_urlfetcher_.reset(new PrivetURLFetcher(
68 scoped_ptr<PrivetURLFetcher> privet_urlfetcher_;
100 EXPECT_CALL(delegate_, OnErrorInternal(PrivetURLFetcher::URL_FETCH_ERROR));
114 OnErrorInternal(PrivetURLFetcher::RESPONSE_CODE_ERROR));
128 OnErrorInternal(PrivetURLFetcher::JSON_PARSE_ERROR))
    [all...]
privet_http_impl.cc 48 void PrivetInfoOperationImpl::OnError(PrivetURLFetcher* fetcher,
49 PrivetURLFetcher::ErrorType error) {
50 if (error == PrivetURLFetcher::RESPONSE_CODE_ERROR) {
57 void PrivetInfoOperationImpl::OnParsedJson(PrivetURLFetcher* fetcher,
101 void PrivetRegisterOperationImpl::OnError(PrivetURLFetcher* fetcher,
102 PrivetURLFetcher::ErrorType error) {
107 if (error == PrivetURLFetcher::RESPONSE_CODE_ERROR) {
110 } else if (error == PrivetURLFetcher::JSON_PARSE_ERROR) {
121 PrivetURLFetcher* fetcher,

Completed in 41 milliseconds