Skip to content

Commit

Permalink
[iOS] Re-add call to prepare keyed service factories (uplift to 1.61.…
Browse files Browse the repository at this point in the history
…x) (#20834)

Uplift of #20832 (squashed) to beta
  • Loading branch information
brave-builds authored Nov 6, 2023
1 parent b9001e4 commit d139b96
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
8 changes: 8 additions & 0 deletions chromium_src/ios/chrome/browser/browser_state/model/BUILD.gn
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Copyright (c) 2023 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 https://mozilla.org/MPL/2.0/.

group("model") {
deps = [ "//brave/ios/browser/browser_state" ]
}
3 changes: 3 additions & 0 deletions chromium_src/ios/chrome/browser/browser_state/model/DEPS
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
include_rules = [
"+brave/ios/browser/browser_state"
]
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

#include "ios/chrome/browser/browser_state/model/browser_state_keyed_service_factories.h"

#include "brave/ios/browser/browser_state/brave_browser_state_keyed_service_factories.h"
#include "ios/chrome/browser/autofill/personal_data_manager_factory.h"
#include "ios/chrome/browser/bookmarks/model/bookmark_undo_service_factory.h"
#include "ios/chrome/browser/bookmarks/model/local_or_syncable_bookmark_model_factory.h"
Expand Down Expand Up @@ -53,4 +54,6 @@ void EnsureBrowserStateKeyedServiceFactoriesBuilt() {
ReadingListModelFactory::GetInstance();
SessionSyncServiceFactory::GetInstance();
SyncSetupServiceFactory::GetInstance();

brave::EnsureBrowserStateKeyedServiceFactoriesBuilt();
}

0 comments on commit d139b96

Please sign in to comment.