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

Side by Side Diff: content/test/net/url_request_failed_job.h

Issue 10696166: Remove #pragma once from content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef CONTENT_TEST_NET_URL_REQUEST_FAILED_JOB_H_ 5 #ifndef CONTENT_TEST_NET_URL_REQUEST_FAILED_JOB_H_
6 #define CONTENT_TEST_NET_URL_REQUEST_FAILED_JOB_H_ 6 #define CONTENT_TEST_NET_URL_REQUEST_FAILED_JOB_H_
7 #pragma once
8 7
9 #include <string> 8 #include <string>
10 9
11 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
12 #include "base/memory/weak_ptr.h" 11 #include "base/memory/weak_ptr.h"
13 #include "googleurl/src/gurl.h" 12 #include "googleurl/src/gurl.h"
14 #include "net/url_request/url_request_job.h" 13 #include "net/url_request/url_request_job.h"
15 14
16 // This class simulates a URLRequestJob failing with a given error code while 15 // This class simulates a URLRequestJob failing with a given error code while
17 // trying to connect. 16 // trying to connect.
(...skipping 22 matching lines...) Expand all
40 void StartAsync(); 39 void StartAsync();
41 40
42 const int net_error_; 41 const int net_error_;
43 42
44 base::WeakPtrFactory<URLRequestFailedJob> weak_factory_; 43 base::WeakPtrFactory<URLRequestFailedJob> weak_factory_;
45 44
46 DISALLOW_COPY_AND_ASSIGN(URLRequestFailedJob); 45 DISALLOW_COPY_AND_ASSIGN(URLRequestFailedJob);
47 }; 46 };
48 47
49 #endif // CONTENT_TEST_NET_URL_REQUEST_FAILED_JOB_H_ 48 #endif // CONTENT_TEST_NET_URL_REQUEST_FAILED_JOB_H_
OLDNEW
« no previous file with comments | « content/test/net/url_request_abort_on_end_job.h ('k') | content/test/net/url_request_mock_http_job.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698