Commit 765ca9d1 authored by erikwright's avatar erikwright Committed by Commit bot

Make PRODUCT_STRING_PATH accessible via chrome_constants.h

BUG=412398

Review URL: https://codereview.chromium.org/558713002

Cr-Commit-Position: refs/heads/master@{#294470}
parent 60b05744
...@@ -19,16 +19,6 @@ ...@@ -19,16 +19,6 @@
#endif #endif
#endif // defined(OS_MACOSX) #endif // defined(OS_MACOSX)
#if defined(OS_WIN)
#if defined(GOOGLE_CHROME_BUILD)
#define PRODUCT_STRING_PATH L"Google\\Chrome"
#elif defined(CHROMIUM_BUILD)
#define PRODUCT_STRING_PATH L"Chromium"
#else
#error Unknown branding
#endif
#endif // defined(OS_WIN)
namespace chrome { namespace chrome {
const char kChromeVersionEnvVar[] = "CHROME_VERSION"; const char kChromeVersionEnvVar[] = "CHROME_VERSION";
......
...@@ -9,6 +9,16 @@ ...@@ -9,6 +9,16 @@
#include "base/files/file_path.h" #include "base/files/file_path.h"
#if defined(OS_WIN)
#if defined(GOOGLE_CHROME_BUILD)
#define PRODUCT_STRING_PATH L"Google\\Chrome"
#elif defined(CHROMIUM_BUILD)
#define PRODUCT_STRING_PATH L"Chromium"
#else
#error Unknown branding
#endif
#endif // defined(OS_WIN)
namespace chrome { namespace chrome {
extern const char kChromeVersion[]; extern const char kChromeVersion[];
......
...@@ -10,16 +10,6 @@ ...@@ -10,16 +10,6 @@
#include "chrome/common/chrome_constants.h" #include "chrome/common/chrome_constants.h"
#include "chrome/common/chrome_version_info.h" #include "chrome/common/chrome_version_info.h"
#if defined(OS_WIN)
#if defined(GOOGLE_CHROME_BUILD)
#define PRODUCT_STRING_PATH L"Google\\Chrome"
#elif defined(CHROMIUM_BUILD)
#define PRODUCT_STRING_PATH L"Chromium"
#else
#error Unknown branding
#endif
#endif // defined(OS_WIN)
namespace { namespace {
const wchar_t* GetBeaconKeyPath() { const wchar_t* GetBeaconKeyPath() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment