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

Unified Diff: chrome/browser/ui/views/about_chrome_view.cc

Issue 5512009: Remove unneeded browser_process.h includes. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix linux build Created 10 years 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/about_chrome_view.cc
===================================================================
--- chrome/browser/ui/views/about_chrome_view.cc (revision 68246)
+++ chrome/browser/ui/views/about_chrome_view.cc (working copy)
@@ -4,6 +4,10 @@
#include "chrome/browser/views/about_chrome_view.h"
+#if defined(OS_WIN)
+#include <commdlg.h>
+#endif // defined(OS_WIN)
+
#include <algorithm>
#include <string>
#include <vector>
@@ -16,7 +20,6 @@
#include "base/utf_string_conversions.h"
#include "base/win/windows_version.h"
#include "chrome/browser/browser_list.h"
-#include "chrome/browser/browser_process.h"
#include "chrome/browser/metrics/user_metrics.h"
#include "chrome/browser/platform_util.h"
#include "chrome/browser/prefs/pref_service.h"
@@ -41,13 +44,15 @@
#include "webkit/glue/webkit_glue.h"
#if defined(OS_WIN)
James Hawkins 2010/12/05 17:58:47 #ifdef includes should be inline with the rest of
-#include <commdlg.h>
-
#include "base/win_util.h"
#include "chrome/browser/views/restart_message_box.h"
#include "chrome/installer/util/install_util.h"
-#endif
+#endif // defined(OS_WIN)
+#if defined(OS_WIN) || defined(OS_CHROMEOS)
+#include "chrome/browser/browser_process.h"
+#endif // defined(OS_WIN) || defined(OS_CHROMEOS)
+
namespace {
// The pixel width of the version text field. Ideally, we'd like to have the
// bounds set to the edge of the icon. However, the icon is not a view but a

Powered by Google App Engine
This is Rietveld 408576698