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

Side by Side Diff: chrome/browser/net/url_request_mock_net_error_job.h

Issue 5607004: net: Remove typedef net::URLRequestJob URLRequestJob; (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased 2 Created 10 years 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // A URLRequestJob class that simulates network errors (including https 5 // A net::URLRequestJob class that simulates network errors (including https
6 // related). 6 // related).
7 // It is based on URLRequestMockHttpJob. 7 // It is based on URLRequestMockHttpJob.
8 8
9 #ifndef CHROME_BROWSER_NET_URL_REQUEST_MOCK_NET_ERROR_JOB_H_ 9 #ifndef CHROME_BROWSER_NET_URL_REQUEST_MOCK_NET_ERROR_JOB_H_
10 #define CHROME_BROWSER_NET_URL_REQUEST_MOCK_NET_ERROR_JOB_H_ 10 #define CHROME_BROWSER_NET_URL_REQUEST_MOCK_NET_ERROR_JOB_H_
11 #pragma once 11 #pragma once
12 12
13 #include "chrome/browser/net/url_request_mock_http_job.h" 13 #include "chrome/browser/net/url_request_mock_http_job.h"
14 14
15 class URLRequestMockNetErrorJob : public URLRequestMockHTTPJob { 15 class URLRequestMockNetErrorJob : public URLRequestMockHTTPJob {
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 scoped_refptr<net::X509Certificate> ssl_cert_; 50 scoped_refptr<net::X509Certificate> ssl_cert_;
51 51
52 struct MockInfo; 52 struct MockInfo;
53 typedef std::map<GURL, MockInfo> URLMockInfoMap; 53 typedef std::map<GURL, MockInfo> URLMockInfoMap;
54 static URLMockInfoMap url_mock_info_map_; 54 static URLMockInfoMap url_mock_info_map_;
55 55
56 DISALLOW_COPY_AND_ASSIGN(URLRequestMockNetErrorJob); 56 DISALLOW_COPY_AND_ASSIGN(URLRequestMockNetErrorJob);
57 }; 57 };
58 58
59 #endif // CHROME_BROWSER_NET_URL_REQUEST_MOCK_NET_ERROR_JOB_H_ 59 #endif // CHROME_BROWSER_NET_URL_REQUEST_MOCK_NET_ERROR_JOB_H_
OLDNEW
« no previous file with comments | « chrome/browser/net/url_request_mock_link_doctor_job.cc ('k') | chrome/browser/net/url_request_mock_net_error_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698