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

Unified Diff: chrome/app/chrome_dll_main.cc

Issue 3007008: Cleanup: Break another common->app dependency. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: minor fix Created 10 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/app/chrome_version_info.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/chrome_dll_main.cc
===================================================================
--- chrome/app/chrome_dll_main.cc (revision 53088)
+++ chrome/app/chrome_dll_main.cc (working copy)
@@ -48,7 +48,6 @@
#include "base/stats_table.h"
#include "base/string_util.h"
#include "base/utf_string_conversions.h"
-#include "chrome/app/chrome_version_info.h"
#include "chrome/browser/diagnostics/diagnostics_main.h"
#include "chrome/browser/renderer_host/render_process_host.h"
#include "chrome/browser/platform_util.h"
@@ -57,6 +56,7 @@
#include "chrome/common/chrome_descriptors.h"
#include "chrome/common/chrome_paths.h"
#include "chrome/common/chrome_switches.h"
+#include "chrome/common/chrome_version_info.h"
#include "chrome/common/logging_chrome.h"
#include "chrome/common/main_function_params.h"
#include "chrome/common/sandbox_init_wrapper.h"
@@ -509,7 +509,7 @@
#if defined(OS_POSIX) && !defined(OS_MACOSX)
if (parsed_command_line.HasSwitch(switches::kProductVersion)) {
- scoped_ptr<FileVersionInfo> version(chrome_app::GetChromeVersionInfo());
+ scoped_ptr<FileVersionInfo> version(chrome::GetChromeVersionInfo());
printf("%s\n", WideToASCII(version->product_version()).c_str());
return 0;
}
@@ -517,7 +517,7 @@
#if defined(OS_POSIX)
if (parsed_command_line.HasSwitch(switches::kVersion)) {
- scoped_ptr<FileVersionInfo> version(chrome_app::GetChromeVersionInfo());
+ scoped_ptr<FileVersionInfo> version(chrome::GetChromeVersionInfo());
printf("%s %s %s\n",
WideToUTF8(version->product_name()).c_str(),
WideToASCII(version->product_version()).c_str(),
« no previous file with comments | « no previous file | chrome/app/chrome_version_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698