Brandon
7c4fd252ed
Added Bookmark Export Utility for CoreData.
2020-11-30 07:34:51 -05:00
Brandon
3da843115a
Add callbacks for Import and Export of bookmarks.
2020-11-30 07:34:50 -05:00
Brandon
ca6c899317
Added importing and exporting bookmarks.
...
Refactored some other sync code.
Added deleting devices by guid.
2020-11-30 07:34:50 -05:00
Brandon
0528f44bf9
Import and Export bookmarks Interface linked.
2020-11-30 07:34:50 -05:00
Brandon
2cc336e410
No need to MaterialComponents into the BraveRewards framework. Instead iOS will link to it as a separate framework dependency. This should prevent any code-signing issues with umbrella frameworks.
2020-11-30 07:34:50 -05:00
Brandon
adea3d2ed8
Made all observer functions optional because iOS doesn't need to use them all.
2020-11-30 07:34:50 -05:00
Brandon
0012e30d0d
Minor changes to interface.
2020-11-30 07:34:50 -05:00
Brandon
f7e72bcaa7
Fixed device not showing up on sync chain when codes are pasted onto Desktop browser and vice-versa.
2020-11-30 07:34:50 -05:00
Brandon
248d0a2c02
Added ability to see if a sync code is valid.
2020-11-30 07:34:50 -05:00
Brandon
09b4fe2ca3
Addressing feedback and using properties instead of functions.
2020-11-30 07:34:50 -05:00
Brandon
88820b8771
Fixed bug where decryption kept failing due to passphrase being set at the wrong time.
2020-11-30 07:34:50 -05:00
Brandon
ea0a581204
Made APIs a singleton. Exported converting Hex-Seed to Code-Words.
2020-11-30 07:34:50 -05:00
Brandon T
648b0b2182
Created SyncService observers for device and service state changes.
2020-11-30 07:34:50 -05:00
Brandon
db2c217716
add dcheck to make sure we're calling things on the correct thread
2020-11-30 07:34:49 -05:00
Brandon T
243c63f113
Added Bookmarks Observer. Fixed all nullability for Swift to not make everything optional.
...
Export the observer for the iOS side to observe when it can finally use and create bookmarks.
2020-11-30 07:34:49 -05:00
Pranjal Jumde
86317a638a
fix sync build for c86
2020-11-30 07:34:49 -05:00
Brandon T
f225ce055d
Rename function to match iOS property access - Apple style guide.
2020-11-30 07:34:49 -05:00
Pranjal Jumde
e6c9742238
Update BraveRewards to link PROPERLY without forcing all symbols to be public which causes a LOT of issues with weak symbols, global variables, and linking..
2020-11-30 07:34:49 -05:00
Brandon T
d4c3df862d
Bookmarks API is feature complete and can actually be used to create and remove bookmarks..
...
Updated API to match Chromium API.
Added convenience functions to the iOS BookmarkNode for updating a node's info.
2020-11-30 07:34:49 -05:00
Brandon T
f595e086d0
Moving the brave-sync worker API.
2020-11-30 07:34:49 -05:00
bridiver
aa9e722db1
cleanup and api fixes
2020-11-30 07:34:49 -05:00
Brandon
8ea729d960
fix connection to brave sync service
2020-11-30 07:34:49 -05:00
Brandon T
ea5b768c4c
Fixing SyncDevice and ProfileSyncServiceFactory for iOS.
...
Added QRCode generation, retrieving device list.
Export public interface for iOS Sync Worker.
Export brave sync worker header properly.
Debugging Local_Device being null
Added proper preferences to browser_prefs for iOS. Attempted to get local_device_info after completing setup.
2020-11-30 07:34:49 -05:00
bridiver
4b96a85994
use chromium_src overrides for chrome_browser_state so we can use the upstream factories
...
use ChromeBrowserState superclass
add prefs and ProfileSyncServiceFactory
fix more crashes when ProfileSyncService starts up
fixes and hack to make sync service start without crashing
make sure startup tasks run
2020-11-30 07:34:49 -05:00
Brandon T
1a43f3ec6f
Added Singleton BrowserStateManager.
2020-11-30 07:34:49 -05:00
bridiver
913a97e0d5
fix startup crash
...
get rid of a bunch of stuff that we don't need
2020-11-30 07:34:49 -05:00
Pranjal Jumde
e1246a4685
updated i10n
2020-11-30 07:34:48 -05:00
Brandon
764cf19cc8
Moving all Shared code to one spot in the framework.
...
Fixed a bunch of crashes related to file paths and first run initialization states.
Initialization completed!
Creating the browser state requires proper BrowserPrefs registrations.. so that's what we do.
Fixed linking and building.
Creates a BrowserState! Gets as far as creating a BookmarkModelObserver but crashes. Figured out that anything language/.pak related will crash the app.
Got everything working except for resource-loading (need to figure out so that the app doesn't crash when attempting localizations in BraveCore).
2020-11-30 07:34:48 -05:00
Brandon T
2595f620dc
Building works again.. Chromium 83 changed a bunch of interfaces.
...
Added Application Context implementation to follow what Chrome iOS does.
Removed unnecessary code.
Added my own WebMain implementation to protect against freezing on iOS.
2020-11-30 07:34:48 -05:00
bridiver
38d87f94b8
fix compile errors
...
fix linking
fix pref creation
fix user data dir path
add URLRequestContextGetter
start WebMain
add StartupTaskRunnerServiceFactory::GetInstance
2020-11-30 07:34:48 -05:00