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

Side by Side Diff: content/test/net/url_request_abort_on_end_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
« no previous file with comments | « content/test/mock_render_process.h ('k') | content/test/net/url_request_failed_job.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // This class simulates what wininet does when a dns lookup fails. 4 // This class simulates what wininet does when a dns lookup fails.
5 5
6 #ifndef CONTENT_TEST_NET_URL_REQUEST_ABORT_ON_END_JOB_H_ 6 #ifndef CONTENT_TEST_NET_URL_REQUEST_ABORT_ON_END_JOB_H_
7 #define CONTENT_TEST_NET_URL_REQUEST_ABORT_ON_END_JOB_H_ 7 #define CONTENT_TEST_NET_URL_REQUEST_ABORT_ON_END_JOB_H_
8 #pragma once
9 8
10 #include <string> 9 #include <string>
11 10
12 #include "base/basictypes.h" 11 #include "base/basictypes.h"
13 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
14 #include "base/memory/weak_ptr.h" 13 #include "base/memory/weak_ptr.h"
15 #include "net/url_request/url_request_job.h" 14 #include "net/url_request/url_request_job.h"
16 15
17 // This url request simulates a network error which occurs immediately after 16 // This url request simulates a network error which occurs immediately after
18 // receiving the very first data. 17 // receiving the very first data.
(...skipping 23 matching lines...) Expand all
42 void StartAsync(); 41 void StartAsync();
43 42
44 bool sent_data_; 43 bool sent_data_;
45 44
46 base::WeakPtrFactory<URLRequestAbortOnEndJob> weak_factory_; 45 base::WeakPtrFactory<URLRequestAbortOnEndJob> weak_factory_;
47 46
48 DISALLOW_COPY_AND_ASSIGN(URLRequestAbortOnEndJob); 47 DISALLOW_COPY_AND_ASSIGN(URLRequestAbortOnEndJob);
49 }; 48 };
50 49
51 #endif // CONTENT_TEST_NET_URL_REQUEST_ABORT_ON_END_JOB_H_ 50 #endif // CONTENT_TEST_NET_URL_REQUEST_ABORT_ON_END_JOB_H_
OLDNEW
« no previous file with comments | « content/test/mock_render_process.h ('k') | content/test/net/url_request_failed_job.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698