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

Side by Side Diff: content/public/test/mock_render_process_host.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_PUBLIC_TEST_MOCK_RENDER_PROCESS_HOST_H_ 5 #ifndef CONTENT_PUBLIC_TEST_MOCK_RENDER_PROCESS_HOST_H_
6 #define CONTENT_PUBLIC_TEST_MOCK_RENDER_PROCESS_HOST_H_ 6 #define CONTENT_PUBLIC_TEST_MOCK_RENDER_PROCESS_HOST_H_
7 #pragma once
8 7
9 #include "base/basictypes.h" 8 #include "base/basictypes.h"
10 #include "base/memory/scoped_vector.h" 9 #include "base/memory/scoped_vector.h"
11 #include "content/public/browser/render_process_host.h" 10 #include "content/public/browser/render_process_host.h"
12 #include "content/public/browser/render_process_host_factory.h" 11 #include "content/public/browser/render_process_host_factory.h"
13 #include "ipc/ipc_test_sink.h" 12 #include "ipc/ipc_test_sink.h"
14 13
15 class TransportDIB; 14 class TransportDIB;
16 15
17 namespace content { 16 namespace content {
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 // for deleting all MockRenderProcessHosts that have not deleted by a test in 118 // for deleting all MockRenderProcessHosts that have not deleted by a test in
120 // the destructor and prevent them from being leaked. 119 // the destructor and prevent them from being leaked.
121 mutable ScopedVector<MockRenderProcessHost> processes_; 120 mutable ScopedVector<MockRenderProcessHost> processes_;
122 121
123 DISALLOW_COPY_AND_ASSIGN(MockRenderProcessHostFactory); 122 DISALLOW_COPY_AND_ASSIGN(MockRenderProcessHostFactory);
124 }; 123 };
125 124
126 } // namespace content 125 } // namespace content
127 126
128 #endif // CONTENT_PUBLIC_TEST_MOCK_RENDER_PROCESS_HOST_H_ 127 #endif // CONTENT_PUBLIC_TEST_MOCK_RENDER_PROCESS_HOST_H_
OLDNEW
« no previous file with comments | « content/public/test/mock_notification_observer.h ('k') | content/public/test/mock_render_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698