Skip to content

Commit

Permalink
Share bookmarks between Tor profile and its parent profile.
Browse files Browse the repository at this point in the history
  • Loading branch information
yrliou committed Oct 2, 2019
1 parent e2ed12b commit 3418ed7
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/* 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/. */

#include "brave/browser/profiles/profile_util.h"

#define GetBrowserContextRedirectedInIncognito GetBrowserContextRedirectedInIncognitoOverride
#include "../../../../../chrome/browser/bookmarks/bookmark_model_factory.cc"
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/* 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/. */

#include "brave/browser/profiles/profile_util.h"

#define GetBrowserContextRedirectedInIncognito GetBrowserContextRedirectedInIncognitoOverride
#include "../../../../../chrome/browser/bookmarks/managed_bookmark_service_factory.cc"

0 comments on commit 3418ed7

Please sign in to comment.