`BraveTestingProfile` is used as a substitution, and it therefore it must match the parent class constructor change. Chromium change: https://chromium.googlesource.com/chromium/src/+/bb1ae862cc7112b9615fc08ca43a885aecef00e7 commit bb1ae862cc7112b9615fc08ca43a885aecef00e7 Author: Hidehiko Abe <hidehiko@chromium.org> Date: Tue Aug 27 05:08:43 2024 +0000 Add CreateMode parameter to TestingProfile's ctor Also TestingProfile::Builder starts to support CreateMode. Bug: 341267441 Test: Tryjob
21 lines
740 B
C++
21 lines
740 B
C++
/* 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_TEST_BASE_BRAVE_TESTING_PROFILE_H_
|
|
#define BRAVE_TEST_BASE_BRAVE_TESTING_PROFILE_H_
|
|
|
|
#include "chrome/test/base/testing_profile.h"
|
|
|
|
class BraveTestingProfile : public TestingProfile {
|
|
public:
|
|
BraveTestingProfile();
|
|
BraveTestingProfile(const base::FilePath& path,
|
|
Delegate* delegate,
|
|
CreateMode create_mode);
|
|
~BraveTestingProfile() override = default;
|
|
};
|
|
|
|
#endif // BRAVE_TEST_BASE_BRAVE_TESTING_PROFILE_H_
|