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

Side by Side Diff: chrome/browser/chrome_content_browser_client.h

Issue 2501913002: Change the NaCl loader and broker processes to use the ServiceManager. (Closed)
Patch Set: rebase Created 3 years, 12 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
« no previous file with comments | « chrome/browser/browser_resources.grd ('k') | chrome/browser/chrome_content_browser_client.cc » ('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) 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 CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 void RegisterRenderFrameMojoInterfaces( 287 void RegisterRenderFrameMojoInterfaces(
288 service_manager::InterfaceRegistry* registry, 288 service_manager::InterfaceRegistry* registry,
289 content::RenderFrameHost* render_frame_host) override; 289 content::RenderFrameHost* render_frame_host) override;
290 void ExposeInterfacesToGpuProcess( 290 void ExposeInterfacesToGpuProcess(
291 service_manager::InterfaceRegistry* registry, 291 service_manager::InterfaceRegistry* registry,
292 content::GpuProcessHost* render_process_host) override; 292 content::GpuProcessHost* render_process_host) override;
293 void RegisterInProcessServices(StaticServiceMap* services) override; 293 void RegisterInProcessServices(StaticServiceMap* services) override;
294 void RegisterOutOfProcessServices( 294 void RegisterOutOfProcessServices(
295 OutOfProcessServiceMap* services) override; 295 OutOfProcessServiceMap* services) override;
296 std::unique_ptr<base::Value> GetServiceManifestOverlay( 296 std::unique_ptr<base::Value> GetServiceManifestOverlay(
297 const std::string& name) override; 297 base::StringPiece name) override;
298 std::vector<content::ContentBrowserClient::ServiceManifestInfo>
299 GetExtraServiceManifests() override;
298 void OpenURL(content::BrowserContext* browser_context, 300 void OpenURL(content::BrowserContext* browser_context,
299 const content::OpenURLParams& params, 301 const content::OpenURLParams& params,
300 const base::Callback<void(content::WebContents*)>& callback) 302 const base::Callback<void(content::WebContents*)>& callback)
301 override; 303 override;
302 content::PresentationServiceDelegate* GetPresentationServiceDelegate( 304 content::PresentationServiceDelegate* GetPresentationServiceDelegate(
303 content::WebContents* web_contents) override; 305 content::WebContents* web_contents) override;
304 void RecordURLMetric(const std::string& metric, const GURL& url) override; 306 void RecordURLMetric(const std::string& metric, const GURL& url) override;
305 ScopedVector<content::NavigationThrottle> CreateThrottlesForNavigation( 307 ScopedVector<content::NavigationThrottle> CreateThrottlesForNavigation(
306 content::NavigationHandle* handle) override; 308 content::NavigationHandle* handle) override;
307 std::unique_ptr<content::NavigationUIData> GetNavigationUIData( 309 std::unique_ptr<content::NavigationUIData> GetNavigationUIData(
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
369 // Vector of additional ChromeContentBrowserClientParts. 371 // Vector of additional ChromeContentBrowserClientParts.
370 // Parts are deleted in the reverse order they are added. 372 // Parts are deleted in the reverse order they are added.
371 std::vector<ChromeContentBrowserClientParts*> extra_parts_; 373 std::vector<ChromeContentBrowserClientParts*> extra_parts_;
372 374
373 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; 375 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_;
374 376
375 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); 377 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient);
376 }; 378 };
377 379
378 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 380 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/browser/browser_resources.grd ('k') | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698