Cheng Zhao
3cea64b0f6
Fix typo
2015-06-10 19:30:57 +08:00
deepak1556
3ac3a2f115
intiailse platform clientcertstore
2015-06-10 02:37:11 +05:30
Cheng Zhao
95d28c398e
Update cpplint
2015-06-05 12:07:27 +08:00
Cheng Zhao
0cbf8b6cd2
Implement PermissionManager
2015-05-22 14:50:41 +08:00
Cheng Zhao
bb8da7ec7e
Fix browser_context.cc
2015-03-08 19:56:45 -07:00
Cheng Zhao
c9463d815c
linux: Override DIR_APP_DATA before loading .js
2015-01-18 17:34:36 -08:00
Cheng Zhao
76e3d56760
Make DIR_APP_DATA available on Linux
2015-01-18 17:19:25 -08:00
Cheng Zhao
5b4e5a7e55
Override DIR_USER_DATA as data path
2015-01-18 16:59:57 -08:00
Cheng Zhao
964e1d6bb6
Override DIR_APP_DATA on Linux
2015-01-18 16:42:32 -08:00
Cheng Zhao
dc86ab58a9
Remove DownloadManagerDelegate
...
Having a partial implemented DownloadManagerDelegate will cause crashes under
certain places.
2014-12-17 13:13:19 -08:00
Cheng Zhao
2c81fb4719
Fix compilation warnings due to API changes
2014-12-09 22:39:44 -08:00
Cheng Zhao
8ec5b5ad20
DevToolsClientHost is discarded
2014-12-09 22:39:44 -08:00
Cheng Zhao
f809fef22d
OVERRIDE => override
2014-10-23 11:10:39 +08:00
Cheng Zhao
5bec155c81
Adapt to API changes of Chrome 38
2014-10-11 16:38:27 +08:00
Cheng Zhao
6010539914
Don't create empty url request job factory.
2014-08-31 19:57:15 +08:00
Cheng Zhao
dca1c51b32
Fix API changes of Chrome37.
2014-08-31 18:43:01 +08:00
Cheng Zhao
c30f11f38c
Add Delegate for URLRequestContextGetter.
2014-08-20 14:39:09 +08:00
Cheng Zhao
b06970fda0
Remove unneeded headers and declarations.
2014-08-13 17:39:25 +08:00
Cheng Zhao
da3bafd490
Pass parameter by pointers when creating job factory.
...
1. The caller needs to modify protocol_handlers.
2. We need to make sure protocol_handlers and interceptors are not touched
if user doesn't create a job factory.
2014-08-13 17:31:33 +08:00
Cheng Zhao
604361f93d
Pass ProtocolHandlerScopedVector by value.
2014-08-13 16:16:01 +08:00
Cheng Zhao
2d03c983e4
Give user a chance to create custom URLRequestJobFactory.
2014-08-13 15:48:16 +08:00
Cheng Zhao
d01aa51686
using content::BrowserThread
2014-08-13 15:11:23 +08:00
Cheng Zhao
a98199511a
Implement GetGuestManagerDelegate.
2014-07-27 11:27:04 +00:00
Adam Roben
5b93dc74e6
Update BrowserContext for Chrome 35
2014-06-27 11:54:27 -04:00
Adam Roben
42b86242ea
Add support for Chrome 35's "protocol interceptors"
...
See https://codereview.chromium.org/187223003
2014-06-27 11:54:27 -04:00
Adam Roben
500861d63d
Update prefs code for Chrome 35
...
See https://codereview.chromium.org/64193003
2014-06-27 11:54:27 -04:00
Adam Roben
e8de51a8dd
Destroy ResourceContext on the IO thread
...
This matches content_shell and fixes a debug assertion (and maybe even a
crash).
2014-01-30 09:03:00 -05:00
Adam Roben
dcaaeacfe3
Fix assertions in Debug builds about using NetworkDelegate on the wrong thread
...
We have to create it on the IO thread.
2014-01-30 08:36:54 -05:00
Adam Roben
a6ecd039e2
Fix typos
2013-11-17 18:16:41 -05:00
Adam Roben
cc4aeb995b
Fix cpplint errors in browser_context.cc
2013-11-17 17:42:56 -05:00
Adam Roben
9165424348
Update ResourceContext for Chrome 30
...
See http://src.chromium.org/viewvc/chrome?view=revision&revision=215991 .
2013-10-07 16:31:58 -04:00
Adam Roben
4d59060657
BrowserContext::RequestMIDISysExPermission was added in Chrome 30
...
See http://src.chromium.org/viewvc/chrome?view=revision&revision=211437 .
2013-10-07 16:31:57 -04:00
Adam Roben
c1c4344879
BrowserContext::GetSpeechRecognitionPreferences is gone in Chrome 30
...
See http://src.chromium.org/viewvc/chrome?view=revision&revision=210616 .
2013-10-07 16:31:57 -04:00
Adam Roben
eb446fc707
content::BrowserContext::GetPath is a const member function in Chrome 30
...
See http://src.chromium.org/viewvc/chrome?view=revision&revision=211931 .
2013-10-07 16:31:57 -04:00
Adam Roben
710d0fc6c5
Make overriding BrowserContext::RegisterPrefs actually work
...
We were calling it before derived classes' vtables were set up. Now we wait to
call it until the BrowserContext is fully constructed.
2013-08-15 16:07:14 -04:00
Adam Roben
9638e3956f
Don't use base::DIR_APP_DATA on Linux
...
It doesn't exist. Instead, match content_shell by putting
application-specific data in $XDG_CONFIG_HOME or ~/.config.
2013-08-14 08:14:54 -04:00
Adam Roben
56b904947b
Avoid a crash when starting a download by disallowing downloads
...
Chromium crashes when starting a download if a content::DownloadManagerDelegate
is not provided. We now provide a default implementation of
content::DownloadManagerDelegate which disallows all downloads.
2013-07-24 07:56:55 -04:00
Adam Roben
33b574b434
Allow clients to supply their own NetworkDelegate implementation
2013-07-17 10:21:33 -04:00
Adam Roben
4c9870e753
Fix debug assertion about performing IO on the UI thread
...
We were querying the application's FILEVERSIONINFO every time we needed to
figure out the path for storing BrowserContext data. Now we cache the path the
first time we need it, which is during application initialization and before IO
prohibitions begin.
2013-06-04 14:17:16 -04:00
Adam Roben
5fa005d5da
Fix Windows build error about passing std::string to base::FilePath::Append
2013-05-16 09:15:56 -04:00
Adam Roben
a6c5cb04f7
Use FILE_PATH_LITERAL to fix build errors
2013-05-16 09:15:56 -04:00
Adam Roben
3c513d6ae8
Remember where the dev tools were docked between launches
2013-04-08 13:53:53 -04:00
Adam Roben
a2a2cd1936
Add preferences support for embedding applications
...
Applications can use brightray::BrowserContext::prefs to get access to
preferences that are persisted between launches.
brightray::BrowserContext::RegisterPrefs must be used to register preferences
before they're accessed.
Updated libchromiumcontent to pull in preferences support.
* vendor/libchromiumcontent 3944c1c...b6a0d85 (2):
> Actually compile the base/prefs code
> Export symbols from base/prefs
2013-04-08 13:53:42 -04:00
Adam Roben
d2c04779e4
Include the application's version number in the user agent string
2013-04-08 12:41:30 -04:00
Adam Roben
90691e394f
Fix lifetime management of URLRequestContextGetter
...
I noticed this bug while adding persistent cookie storage.
2013-03-27 08:55:54 -04:00
Adam Roben
3cda49b894
Update to latest libchromiumcontent
2013-03-21 15:18:25 -04:00
Adam Roben
e1b5e5e1bf
Store the disk cache in an app-specific location
...
We deduce the name of the application from the CFBundleName of the .app bundle
and use a path based on that. Similar logic should be implementable for other
platforms.
Fixes #3 .
2013-03-13 16:45:00 -04:00
Adam Roben
e451d92121
Initial commit
2013-03-13 15:31:24 -04:00