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

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

Issue 9349010: Move handling of debug urls like chrome://crash, chrome://gpuclean to content. These are for test... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 8 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_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 16 matching lines...) Expand all
27 WebContents* web_contents) OVERRIDE; 27 WebContents* web_contents) OVERRIDE;
28 virtual void RenderViewHostCreated( 28 virtual void RenderViewHostCreated(
29 RenderViewHost* render_view_host) OVERRIDE; 29 RenderViewHost* render_view_host) OVERRIDE;
30 virtual void RenderProcessHostCreated( 30 virtual void RenderProcessHostCreated(
31 RenderProcessHost* host) OVERRIDE; 31 RenderProcessHost* host) OVERRIDE;
32 virtual WebUIControllerFactory* GetWebUIControllerFactory() OVERRIDE; 32 virtual WebUIControllerFactory* GetWebUIControllerFactory() OVERRIDE;
33 virtual GURL GetEffectiveURL(content::BrowserContext* browser_context, 33 virtual GURL GetEffectiveURL(content::BrowserContext* browser_context,
34 const GURL& url) OVERRIDE; 34 const GURL& url) OVERRIDE;
35 virtual bool ShouldUseProcessPerSite(BrowserContext* browser_context, 35 virtual bool ShouldUseProcessPerSite(BrowserContext* browser_context,
36 const GURL& effective_url) OVERRIDE; 36 const GURL& effective_url) OVERRIDE;
37 virtual bool IsURLSameAsAnySiteInstance(const GURL& url) OVERRIDE;
38 virtual bool IsHandledURL(const GURL& url) OVERRIDE; 37 virtual bool IsHandledURL(const GURL& url) OVERRIDE;
39 virtual bool IsSuitableHost(RenderProcessHost* process_host, 38 virtual bool IsSuitableHost(RenderProcessHost* process_host,
40 const GURL& site_url) OVERRIDE; 39 const GURL& site_url) OVERRIDE;
41 virtual void SiteInstanceGotProcess(SiteInstance* site_instance) OVERRIDE; 40 virtual void SiteInstanceGotProcess(SiteInstance* site_instance) OVERRIDE;
42 virtual void SiteInstanceDeleting(SiteInstance* site_instance) OVERRIDE; 41 virtual void SiteInstanceDeleting(SiteInstance* site_instance) OVERRIDE;
43 virtual bool ShouldSwapProcessesForNavigation(const GURL& current_url, 42 virtual bool ShouldSwapProcessesForNavigation(const GURL& current_url,
44 const GURL& new_url) OVERRIDE; 43 const GURL& new_url) OVERRIDE;
45 virtual std::string GetCanonicalEncodingNameByAliasName( 44 virtual std::string GetCanonicalEncodingNameByAliasName(
46 const std::string& alias_name) OVERRIDE; 45 const std::string& alias_name) OVERRIDE;
47 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line, 46 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line,
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 private: 159 private:
161 // Temporary directory for GetDefaultDownloadDirectory. 160 // Temporary directory for GetDefaultDownloadDirectory.
162 ScopedTempDir download_dir_; 161 ScopedTempDir download_dir_;
163 162
164 DISALLOW_COPY_AND_ASSIGN(MockContentBrowserClient); 163 DISALLOW_COPY_AND_ASSIGN(MockContentBrowserClient);
165 }; 164 };
166 165
167 } // namespace content 166 } // namespace content
168 167
169 #endif // CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ 168 #endif // CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698