Skip to content

Commit

Permalink
lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bridiver committed May 15, 2019
1 parent ca7243d commit bbc3e7d
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#include <stdint.h>

#include <string>
#include <utility>

#include "base/bind.h"
#include "base/command_line.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#include <fstream>
#include <streambuf>
#include <string>
#include <utility>

#include "brave/components/brave_rewards/browser/publisher_info_database.h"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
/* 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/. */

#ifndef BRAVE_BROWSER_PAYMENTS_PAYMENTS_SERVICE_PRIVATE_OBSERVER_H_
#define BRAVE_BROWSER_PAYMENTS_PAYMENTS_SERVICE_PRIVATE_OBSERVER_H_
#ifndef BRAVE_COMPONENTS_BRAVE_REWARDS_BROWSER_REWARDS_SERVICE_PRIVATE_OBSERVER_H_
#define BRAVE_COMPONENTS_BRAVE_REWARDS_BROWSER_REWARDS_SERVICE_PRIVATE_OBSERVER_H_

#include "base/observer_list_types.h"
#include "bat/ledger/publisher_info.h"
Expand Down Expand Up @@ -31,4 +32,4 @@ class RewardsServicePrivateObserver : public base::CheckedObserver {

} // namespace brave_rewards

#endif // BRAVE_BROWSER_PAYMENTS_PAYMENTS_SERVICE_PRIVATE_OBSERVER_H_
#endif // BRAVE_COMPONENTS_BRAVE_REWARDS_BROWSER_REWARDS_SERVICE_PRIVATE_OBSERVER_H_
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ class MockConfirmationsClient : public ConfirmationsClient {
ledger::OnRestoreCallback callback));

MOCK_METHOD1(SaveNormalizedPublisherList, void(
ledger::PublisherInfoListStruct normalized_list));
ledger::PublisherInfoList normalized_list));

MOCK_METHOD1(SetConfirmationsIsReady, void(
const bool is_ready));
Expand Down
2 changes: 0 additions & 2 deletions vendor/bat-native-ledger/include/bat/ledger/publisher_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ namespace ledger {
using PublisherInfo = mojom::PublisherInfo;
using PublisherInfoPtr = mojom::PublisherInfoPtr;
using PublisherInfoList = std::vector<PublisherInfoPtr>;
// TODO - remove this
using PublisherInfoListStruct = PublisherInfoList;

const char _clear_favicon[] = "clear";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
* 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 <utility>

#include "bat/ledger/internal/bat_publishers.h"
#include "bat/ledger/ledger.h"
#include "testing/gtest/include/gtest/gtest.h"
Expand Down

0 comments on commit bbc3e7d

Please sign in to comment.