-
Notifications
You must be signed in to change notification settings - Fork 893
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Calling parent method in BraveBookmarkModelLoadedObserver::BookmarkMo…
…delLoaded to avoid duplication
- Loading branch information
Showing
4 changed files
with
30 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
chromium_src/chrome/browser/profiles/bookmark_model_loaded_observer.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* Copyright 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_CHROMIUM_SRC_CHROME_BROWSER_PROFILES_BOOKMARK_MODEL_LOADED_OBSERVER_H_ | ||
#define BRAVE_CHROMIUM_SRC_CHROME_BROWSER_PROFILES_BOOKMARK_MODEL_LOADED_OBSERVER_H_ | ||
|
||
#define BRAVE_BOOKMARK_MODEL_LOADED_OBSERVER_H_ \ | ||
private: \ | ||
friend class BraveBookmarkModelLoadedObserver; \ | ||
\ | ||
public: | ||
#include "../../../../../chrome/browser/profiles/bookmark_model_loaded_observer.h" | ||
|
||
#endif // BRAVE_CHROMIUM_SRC_CHROME_BROWSER_PROFILES_BOOKMARK_MODEL_LOADED_OBSERVER_H_ |
12 changes: 12 additions & 0 deletions
12
patches/chrome-browser-profiles-bookmark_model_loaded_observer.h.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
diff --git a/chrome/browser/profiles/bookmark_model_loaded_observer.h b/chrome/browser/profiles/bookmark_model_loaded_observer.h | ||
index b4ef0d2aa9e393ace55f65f7aa92153e8dd6069d..7034645e46bf9a0f62173fd7db1b60198ad0f8fb 100644 | ||
--- a/chrome/browser/profiles/bookmark_model_loaded_observer.h | ||
+++ b/chrome/browser/profiles/bookmark_model_loaded_observer.h | ||
@@ -16,6 +16,7 @@ class BookmarkModelLoadedObserver | ||
public: | ||
explicit BookmarkModelLoadedObserver(Profile* profile); | ||
|
||
+ BRAVE_BOOKMARK_MODEL_LOADED_OBSERVER_H_ | ||
private: | ||
void BookmarkModelChanged() override; | ||
void BookmarkModelLoaded(bookmarks::BookmarkModel* model, |