-
Notifications
You must be signed in to change notification settings - Fork 862
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3718 from brave/fix_vmp_not_working
Update wrong GOOGLE_CHROME_BUILD usage
- Loading branch information
Showing
5 changed files
with
20 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 13 additions & 8 deletions
21
chromium_src/components/metrics/metrics_service_accessor.cc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,18 @@ | ||
/* This Source Code Form is subject to the terms of the Mozilla Public | ||
/* Copyright (c) 2019 The Brave Authors. All rights reserved. | ||
* This Source Code Form is subject to the terms of the Mozilla Public | ||
* License, v. 2.0. If a copy of the MPL was not distributed with this file, | ||
* You can obtain one at http://mozilla.org/MPL/2.0/. */ | ||
|
||
#if defined(BRAVE_CHROMIUM_BUILD) | ||
#define GOOGLE_CHROME_BUILD | ||
#endif | ||
#include "components/metrics/metrics_service_accessor.h" | ||
|
||
#include "../../../../components/metrics/metrics_service_accessor.cc" | ||
#include "base/base_switches.h" | ||
#include "base/command_line.h" | ||
#include "build/branding_buildflags.h" | ||
#include "components/metrics/metrics_pref_names.h" | ||
#include "components/metrics/metrics_service.h" | ||
#include "components/prefs/pref_service.h" | ||
#include "components/variations/hashing.h" | ||
|
||
#if defined(BRAVE_CHROMIUM_BUILD) | ||
#undef GOOGLE_CHROME_BUILD | ||
#endif | ||
#undef BUILDFLAG_INTERNAL_GOOGLE_CHROME_BRANDING | ||
#define BUILDFLAG_INTERNAL_GOOGLE_CHROME_BRANDING() (1) | ||
#include "../../../../components/metrics/metrics_service_accessor.cc" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters