TestingProfile override to add cration_time arg
`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
This commit is contained in:
@@ -10,8 +10,9 @@
|
||||
#include "components/prefs/pref_service.h"
|
||||
|
||||
BraveTestingProfile::BraveTestingProfile(const base::FilePath& path,
|
||||
Delegate* delegate)
|
||||
: TestingProfile(path, delegate) {}
|
||||
Delegate* delegate,
|
||||
CreateMode create_mode)
|
||||
: TestingProfile(path, delegate, create_mode) {}
|
||||
|
||||
BraveTestingProfile::BraveTestingProfile() : TestingProfile() {
|
||||
#if !BUILDFLAG(USE_GCM_FROM_PLATFORM)
|
||||
|
||||
@@ -11,7 +11,9 @@
|
||||
class BraveTestingProfile : public TestingProfile {
|
||||
public:
|
||||
BraveTestingProfile();
|
||||
BraveTestingProfile(const base::FilePath& path, Delegate* delegate);
|
||||
BraveTestingProfile(const base::FilePath& path,
|
||||
Delegate* delegate,
|
||||
CreateMode create_mode);
|
||||
~BraveTestingProfile() override = default;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user