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

Side by Side Diff: content/public/test/render_view_test.h

Issue 137023014: Added ScopedNSAutoreleasePool to RenderViewTest. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Moved autorelease pool to RenderViewTest Created 6 years, 10 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_RENDER_VIEW_TEST_H_ 5 #ifndef CONTENT_PUBLIC_TEST_RENDER_VIEW_TEST_H_
6 #define CONTENT_PUBLIC_TEST_RENDER_VIEW_TEST_H_ 6 #define CONTENT_PUBLIC_TEST_RENDER_VIEW_TEST_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 RenderView* view_; 132 RenderView* view_;
133 RendererWebKitPlatformSupportImplNoSandbox webkit_platform_support_; 133 RendererWebKitPlatformSupportImplNoSandbox webkit_platform_support_;
134 ContentRendererClient content_renderer_client_; 134 ContentRendererClient content_renderer_client_;
135 scoped_ptr<MockRenderThread> render_thread_; 135 scoped_ptr<MockRenderThread> render_thread_;
136 136
137 // Used to setup the process so renderers can run. 137 // Used to setup the process so renderers can run.
138 scoped_ptr<RendererMainPlatformDelegate> platform_; 138 scoped_ptr<RendererMainPlatformDelegate> platform_;
139 scoped_ptr<MainFunctionParams> params_; 139 scoped_ptr<MainFunctionParams> params_;
140 scoped_ptr<CommandLine> command_line_; 140 scoped_ptr<CommandLine> command_line_;
141 141
142 #if defined(OS_MACOSX)
143 scoped_ptr<base::mac::ScopedNSAutoreleasePool> autorelease_pool_;
Nico 2014/02/04 16:12:51 Does this have to be a scoped_ptr? A regular membe
tasak 2014/02/05 04:23:02 I would like to make ScopedNSAutoreleasePool's lif
144 #endif
145
142 private: 146 private:
143 void GoToOffset(int offset, const blink::WebHistoryItem& history_item); 147 void GoToOffset(int offset, const blink::WebHistoryItem& history_item);
144 }; 148 };
145 149
146 } // namespace content 150 } // namespace content
147 151
148 #endif // CONTENT_PUBLIC_TEST_RENDER_VIEW_TEST_H_ 152 #endif // CONTENT_PUBLIC_TEST_RENDER_VIEW_TEST_H_
OLDNEW
« no previous file with comments | « no previous file | content/public/test/render_view_test.cc » ('j') | content/public/test/render_view_test.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698