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

Side by Side Diff: chrome/browser/chromeos/boot_times_loader.cc

Issue 9600036: Move Render(View|Widget)Host and associated classes to content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Respond to review comments. Created 8 years, 9 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 #include "chrome/browser/chromeos/boot_times_loader.h" 5 #include "chrome/browser/chromeos/boot_times_loader.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 16 matching lines...) Expand all
27 #include "chrome/common/chrome_notification_types.h" 27 #include "chrome/common/chrome_notification_types.h"
28 #include "chrome/common/chrome_switches.h" 28 #include "chrome/common/chrome_switches.h"
29 #include "content/public/browser/browser_thread.h" 29 #include "content/public/browser/browser_thread.h"
30 #include "content/public/browser/navigation_controller.h" 30 #include "content/public/browser/navigation_controller.h"
31 #include "content/public/browser/notification_service.h" 31 #include "content/public/browser/notification_service.h"
32 #include "content/public/browser/render_widget_host_view.h" 32 #include "content/public/browser/render_widget_host_view.h"
33 #include "content/public/browser/web_contents.h" 33 #include "content/public/browser/web_contents.h"
34 34
35 using content::BrowserThread; 35 using content::BrowserThread;
36 using content::NavigationController; 36 using content::NavigationController;
37 using content::RenderWidgetHost;
37 using content::RenderWidgetHostView; 38 using content::RenderWidgetHostView;
38 using content::WebContents; 39 using content::WebContents;
39 40
40 namespace { 41 namespace {
41 42
42 RenderWidgetHost* GetRenderWidgetHost(NavigationController* tab) { 43 RenderWidgetHost* GetRenderWidgetHost(NavigationController* tab) {
43 WebContents* web_contents = tab->GetWebContents(); 44 WebContents* web_contents = tab->GetWebContents();
44 if (web_contents) { 45 if (web_contents) {
45 RenderWidgetHostView* render_widget_host_view = 46 RenderWidgetHostView* render_widget_host_view =
46 web_contents->GetRenderWidgetHostView(); 47 web_contents->GetRenderWidgetHostView();
(...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after
510 GetRenderWidgetHost(&web_contents->GetController()); 511 GetRenderWidgetHost(&web_contents->GetController());
511 render_widget_hosts_loading_.erase(render_widget_host); 512 render_widget_hosts_loading_.erase(render_widget_host);
512 break; 513 break;
513 } 514 }
514 default: 515 default:
515 break; 516 break;
516 } 517 }
517 } 518 }
518 519
519 } // namespace chromeos 520 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/boot_times_loader.h ('k') | chrome/browser/chromeos/login/screen_locker_tester.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698