-
Notifications
You must be signed in to change notification settings - Fork 892
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 #8061 from /issues/14338
Drop chrome-common-chrome_content_client_constants.cc.patch
- Loading branch information
Showing
3 changed files
with
39 additions
and
13 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
/* Copyright (c) 2021 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/. */ | ||
|
||
#ifndef BRAVE_CHROMIUM_SRC_CHROME_COMMON_CHROME_CONTENT_CLIENT_H_ | ||
#define BRAVE_CHROMIUM_SRC_CHROME_COMMON_CHROME_CONTENT_CLIENT_H_ | ||
|
||
#define kPDFExtensionPluginName \ | ||
kPDFExtensionPluginName_Unused[]; \ | ||
static const char kPDFExtensionPluginName | ||
|
||
#define kPDFInternalPluginName \ | ||
kPDFInternalPluginName_Unused[]; \ | ||
static const char kPDFInternalPluginName | ||
|
||
#include "../../../../chrome/common/chrome_content_client.h" | ||
|
||
#undef kPDFExtensionPluginName | ||
#undef kPDFInternalPluginName | ||
|
||
#endif // BRAVE_CHROMIUM_SRC_CHROME_COMMON_CHROME_CONTENT_CLIENT_H_ |
17 changes: 17 additions & 0 deletions
17
chromium_src/chrome/common/chrome_content_client_constants.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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/* Copyright (c) 2021 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/. */ | ||
|
||
#include "chrome/common/chrome_content_client.h" | ||
|
||
#define kPDFExtensionPluginName kPDFExtensionPluginName_Unused | ||
#define kPDFInternalPluginName kPDFInternalPluginName_Unused | ||
|
||
#include "../../../../chrome/common/chrome_content_client_constants.cc" | ||
|
||
#undef kPDFExtensionPluginName | ||
#undef kPDFInternalPluginName | ||
|
||
const char ChromeContentClient::kPDFExtensionPluginName[] = "Chrome PDF Viewer"; | ||
const char ChromeContentClient::kPDFInternalPluginName[] = "Chrome PDF Plugin"; |
13 changes: 0 additions & 13 deletions
13
patches/chrome-common-chrome_content_client_constants.cc.patch
This file was deleted.
Oops, something went wrong.