Skip to content

Commit

Permalink
Merge pull request #7139 from brave/remove-fcm-network-hand-patch
Browse files Browse the repository at this point in the history
Remove components-invalidation-impl-fcm_network_handler.cc.patch
  • Loading branch information
Gyuyoung authored Nov 16, 2020
2 parents ed7ec9d + 0cdfc55 commit df23b0f
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 12 deletions.
18 changes: 18 additions & 0 deletions chromium_src/components/invalidation/impl/fcm_network_handler.cc
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
/* Copyright (c) 2020 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 "components/invalidation/impl/fcm_network_handler.h"

#define StartListening StartListening_ChromiumImpl
#include "../../../../../components/invalidation/impl/fcm_network_handler.cc"
#undef StartListening

namespace syncer {

void FCMNetworkHandler::StartListening() {
return;
}

} // namespace syncer
16 changes: 16 additions & 0 deletions chromium_src/components/invalidation/impl/fcm_network_handler.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/* Copyright (c) 2020 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_COMPONENTS_INVALIDATION_IMPL_FCM_NETWORK_HANDLER_H_
#define BRAVE_CHROMIUM_SRC_COMPONENTS_INVALIDATION_IMPL_FCM_NETWORK_HANDLER_H_

#include "components/invalidation/impl/fcm_sync_network_channel.h"

#define StartListening StartListening_ChromiumImpl(); \
void StartListening
#include "../../../../../components/invalidation/impl/fcm_network_handler.h"
#undef StartListening

#endif // BRAVE_CHROMIUM_SRC_COMPONENTS_INVALIDATION_IMPL_FCM_NETWORK_HANDLER_H_
12 changes: 0 additions & 12 deletions patches/components-invalidation-impl-fcm_network_handler.cc.patch

This file was deleted.

0 comments on commit df23b0f

Please sign in to comment.