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

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

Issue 9420007: Move RenderWidgetHostView into content namespace. Fix include paths. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix linux_chromeos_gtk build issue not caught by trybots. 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) 2011 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"
11 #include "base/file_path.h" 11 #include "base/file_path.h"
12 #include "base/file_util.h" 12 #include "base/file_util.h"
13 #include "base/lazy_instance.h" 13 #include "base/lazy_instance.h"
14 #include "base/message_loop.h" 14 #include "base/message_loop.h"
15 #include "base/metrics/histogram.h" 15 #include "base/metrics/histogram.h"
16 #include "base/process_util.h" 16 #include "base/process_util.h"
17 #include "base/string_number_conversions.h" 17 #include "base/string_number_conversions.h"
18 #include "base/string_util.h" 18 #include "base/string_util.h"
19 #include "base/stringprintf.h" 19 #include "base/stringprintf.h"
20 #include "base/threading/thread.h" 20 #include "base/threading/thread.h"
21 #include "base/threading/thread_restrictions.h" 21 #include "base/threading/thread_restrictions.h"
22 #include "base/time.h" 22 #include "base/time.h"
23 #include "chrome/browser/browser_process.h" 23 #include "chrome/browser/browser_process.h"
24 #include "chrome/browser/chromeos/login/authentication_notification_details.h" 24 #include "chrome/browser/chromeos/login/authentication_notification_details.h"
25 #include "chrome/browser/ui/browser.h" 25 #include "chrome/browser/ui/browser.h"
26 #include "chrome/browser/ui/browser_list.h" 26 #include "chrome/browser/ui/browser_list.h"
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/browser/renderer_host/render_widget_host_view.h"
30 #include "content/public/browser/browser_thread.h" 29 #include "content/public/browser/browser_thread.h"
31 #include "content/public/browser/navigation_controller.h" 30 #include "content/public/browser/navigation_controller.h"
32 #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"
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::RenderWidgetHostView;
37 using content::WebContents; 38 using content::WebContents;
38 39
39 namespace { 40 namespace {
40 41
41 RenderWidgetHost* GetRenderWidgetHost(NavigationController* tab) { 42 RenderWidgetHost* GetRenderWidgetHost(NavigationController* tab) {
42 WebContents* web_contents = tab->GetWebContents(); 43 WebContents* web_contents = tab->GetWebContents();
43 if (web_contents) { 44 if (web_contents) {
44 RenderWidgetHostView* render_widget_host_view = 45 RenderWidgetHostView* render_widget_host_view =
45 web_contents->GetRenderWidgetHostView(); 46 web_contents->GetRenderWidgetHostView();
46 if (render_widget_host_view) 47 if (render_widget_host_view)
(...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after
474 GetRenderWidgetHost(&web_contents->GetController()); 475 GetRenderWidgetHost(&web_contents->GetController());
475 render_widget_hosts_loading_.erase(render_widget_host); 476 render_widget_hosts_loading_.erase(render_widget_host);
476 break; 477 break;
477 } 478 }
478 default: 479 default:
479 break; 480 break;
480 } 481 }
481 } 482 }
482 483
483 } // namespace chromeos 484 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/browser_keyevents_browsertest.cc ('k') | chrome/browser/chromeos/login/lock_window_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698