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

Side by Side Diff: content/browser/mock_content_browser_client.h

Issue 9150016: Move creation and ownership of ResourceDispatcherHost and PluginService to content. This gives a ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix chromeos ui_tests Created 8 years, 11 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) 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 4
5 #ifndef CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_
6 #define CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ 6 #define CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 int render_process_id, 118 int render_process_id,
119 int render_view_id, 119 int render_view_id,
120 int notification_id) OVERRIDE; 120 int notification_id) OVERRIDE;
121 virtual bool CanCreateWindow( 121 virtual bool CanCreateWindow(
122 const GURL& source_origin, 122 const GURL& source_origin,
123 WindowContainerType container_type, 123 WindowContainerType container_type,
124 const content::ResourceContext& context, 124 const content::ResourceContext& context,
125 int render_process_id) OVERRIDE; 125 int render_process_id) OVERRIDE;
126 virtual std::string GetWorkerProcessTitle( 126 virtual std::string GetWorkerProcessTitle(
127 const GURL& url, const content::ResourceContext& context) OVERRIDE; 127 const GURL& url, const content::ResourceContext& context) OVERRIDE;
128 virtual ResourceDispatcherHost* GetResourceDispatcherHost() OVERRIDE; 128 virtual void ResourceDispatcherHostCreated() OVERRIDE;
129 virtual ui::Clipboard* GetClipboard() OVERRIDE; 129 virtual ui::Clipboard* GetClipboard() OVERRIDE;
130 virtual MHTMLGenerationManager* GetMHTMLGenerationManager() OVERRIDE; 130 virtual MHTMLGenerationManager* GetMHTMLGenerationManager() OVERRIDE;
131 virtual net::NetLog* GetNetLog() OVERRIDE; 131 virtual net::NetLog* GetNetLog() OVERRIDE;
132 virtual speech_input::SpeechInputManager* GetSpeechInputManager() OVERRIDE; 132 virtual speech_input::SpeechInputManager* GetSpeechInputManager() OVERRIDE;
133 virtual AccessTokenStore* CreateAccessTokenStore() OVERRIDE; 133 virtual AccessTokenStore* CreateAccessTokenStore() OVERRIDE;
134 virtual bool IsFastShutdownPossible() OVERRIDE; 134 virtual bool IsFastShutdownPossible() OVERRIDE;
135 virtual WebPreferences GetWebkitPrefs(RenderViewHost* rvh) OVERRIDE; 135 virtual WebPreferences GetWebkitPrefs(RenderViewHost* rvh) OVERRIDE;
136 virtual void UpdateInspectorSetting(RenderViewHost* rvh, 136 virtual void UpdateInspectorSetting(RenderViewHost* rvh,
137 const std::string& key, 137 const std::string& key,
138 const std::string& value) OVERRIDE; 138 const std::string& value) OVERRIDE;
(...skipping 21 matching lines...) Expand all
160 private: 160 private:
161 // Temporary directory for GetDefaultDownloadDirectory. 161 // Temporary directory for GetDefaultDownloadDirectory.
162 ScopedTempDir download_dir_; 162 ScopedTempDir download_dir_;
163 163
164 DISALLOW_COPY_AND_ASSIGN(MockContentBrowserClient); 164 DISALLOW_COPY_AND_ASSIGN(MockContentBrowserClient);
165 }; 165 };
166 166
167 } // namespace content 167 } // namespace content
168 168
169 #endif // CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ 169 #endif // CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698