| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
NOTIFICATION_EXTENSION_WILL_BE_INSTALLED_DEPRECATED, which more accurately
reflects what it does, and matches the corresponding event in
ExtensionRegistryObserver.
R=rdevlin.cronin@chromium.org
TBR=pkotwicz@chromium.org,sky@chromium.org,dconnelly@chromium.org
Review URL: https://codereview.chromium.org/361833002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@280887 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Inside ContentVerifier::CreateJobFor(), we were accessing the
ExtensionRegistry even though shutdown may be in progress and it is
being torn down. The quick fix here is to avoid doing that by
early-returning if the fetcher or delegate is null (the entire feature
is turned off by default and the fetcher object is only created when the
feature is turned on, so this should stop the crash).
Looking closely at this code made me realize we are also accidentally
accessing the ExtensionRegistry from a non-UI thread, so in a follow-up
patch I will fix that as well.
BUG=389217
Review URL: https://codereview.chromium.org/358693008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@280709 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL adds the startCharacteristicNotifications and
stopCharacteristicNotifications functions to the chrome.bluetoothLowEnergy API.
These changes the API behavior from automatically getting characteristic value
notifications to explicitly having to enable them by calling the new API method.
Internally an API resource is created for each app on a per-characteristic
basis, managing the life-time of a device::BluetoothGattNotifySession
object. Notifications are physically enabled/disabled and shared among apps
using session objects.
BUG=387989
TEST=browser_tests --gtest_filter=BluetoothLowEnergyApiTest.*
Review URL: https://codereview.chromium.org/351123002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@280477 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It turns out that the relative path we generate inside the network stack
when requesting chrome://extension urls uses '/' path separators for
relative paths, but the in-memory representation of computed_hashes.json
and verified_contents.json files ended up with '\' path separators on
windows. So we ended up not finding any paths with a subdirectory at
request time.
I've fixed this by just standardizing on '/' path separators everywhere.
BUG=382638
Review URL: https://codereview.chromium.org/361523002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@280473 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
And use it from c/e/b/extensions/.
BUG=354046
R=yoz@chromium.org, thestig@chromium.org, kalman@chromium.org
TEST=browser_tests
Review URL: https://codereview.chromium.org/334083002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@280415 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
Disable extensions code on Android so they do not use these messages.
BUG=349436
Review URL: https://codereview.chromium.org/345693002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@280242 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
webview.json -> web_view_internal.json
Broke compile on clobber builds, was not caught on trybot incremental builds.
Fixed the #include header in web_view_internal_api.cc
Requires NOTRY for (false) histograms.xml presubmit failure.
NOTRY=true
TBR=kalman@chromium.org, fsamuel@chromium.org, thestig@chromium.org, asvitkine@chromium.org
BUG=388380
Test=Internal cleanup, no visible change.
Review URL: https://codereview.chromium.org/356793004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@280091 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
My previous patch removed this check because I thought that all code paths have
such check but it is not the case so I returned this check.
BUG=388797
TBR= asargent@chromium.org
TEST=N/A
Review URL: https://codereview.chromium.org/352633008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@279992 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
> Rename webview API related files to web_view_internal.
> webview.json -> web_view_internal.json
>
> NOTRY=True
> BUG=388380
> Test=Internal cleanup, no visible change.
>
> Review URL: https://codereview.chromium.org/347143004
TBR=lazyboy@chromium.org
Review URL: https://codereview.chromium.org/351033006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@279755 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
webview.json -> web_view_internal.json
NOTRY=True
BUG=388380
Test=Internal cleanup, no visible change.
Review URL: https://codereview.chromium.org/347143004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@279748 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since it's a key part of the extensions system.
And remove Profile dependency from StateStore.
R=yoz@chromium.org, thestig@chromium.org
BUG=159265
Review URL: https://codereview.chromium.org/348103002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@279640 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
prefs
The "ephemeral_app" flag is only written to extension prefs for
ephemeral apps and removed when the app is fully installed.
BUG=None
TEST=browser_tests (EphemeralAppBrowserTest.*)
Review URL: https://codereview.chromium.org/342593004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@279616 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
> Extensions: Add some CHECKs to help track down a flaky TestAdblockExtensionCrash.
>
> BUG=387866
>
> Review URL: https://codereview.chromium.org/354493003
TBR=thestig@chromium.org
Review URL: https://codereview.chromium.org/352693002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@279506 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
TestAdblockExtensionCrash.
BUG=387866
Review URL: https://codereview.chromium.org/354493003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@279293 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
protection.
BUG=312883
Review URL: https://codereview.chromium.org/340093002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@279171 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=387158
TBR=rockot@chromium.org
Review URL: https://codereview.chromium.org/341263003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@279166 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL introduces GuestViewInternal.createGuest which replaces GuestViewInternal.allocateInstanceId.
This new internal API does the following:
1. Allocates an instance ID.
2. Creates a new guest delegate of the specified and guest WebContents, without navigating the new WebContents.
3. On attachment, the new WebContents is navigated.
In this CL, the particular GuestView type decides how to create the WebContents. Thus <webview> can create WebContents with SiteInstances of the form chrome-guest:// whereas <appview> can create guests with the SiteInstances matching the app they are hosting.
BrowserPluginGuestDelegate (e.g. WebViewGuest) is now passed in to the constructor of BrowserPluginGuest. Now, we can assume a delegate always exists. I added a DCHECK to the constructor. With this patch, BrowserPluginGuestDelegate outlives BrowserPluginGuest too so we can always assume delegate_ is safe to access.
BUG=364141
NOTRY=true
Review URL: https://codereview.chromium.org/336283002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@279140 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=235263
TEST=manual
Review URL: https://codereview.chromium.org/313513003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@279070 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Both callbacks were exactly the same, so this patch merges them to one generic
OperationRequestSuccess, which will be used in the future also by other
operations.
Secondly, since now, we pass the Value arguments passed from JS, since they are
going to contain some performance information.
NOTRY=true
TEST=unit_tests, browser_tests: *FileSystemProvider*
BUG=373165, 384201
Review URL: https://codereview.chromium.org/331363002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@279037 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a reland of https://codereview.chromium.org/335753004/, after reverting
because of breaking ASAN bots. Includes a trivial fix. The original description
is below.
This CL removes redundant internal functions which are identical, and replaces
them with one.
Moreover, the new general purpose error API function, passes now the entire
value to the request manager. This is because, very soon, we are going to
pass extra information with every error and success responses and we want to
have access to them in the RequestManager.
TBR=benwells@chromium.org, isherman@chromium.org, kinaba@chromium.org
TEST=unit_tests, browser_tests: *FileSystemProvider*
BUG=373165, 384201
Review URL: https://codereview.chromium.org/342893002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@279023 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Also move GrantedFileEntry into extensions.
BUG=373821
TBR=miket@chromium.org,brettw@chromium.org
Review URL: https://codereview.chromium.org/348453002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278994 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Implements:
- webstorePrivate.launchEphemeralApp()
- webstorePrivate.getEphemeralAppsEnabled()
BUG=380980
TEST=browser_tests (EphemeralAppWebstorePrivateApiTest*)
Review URL: https://codereview.chromium.org/342433003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278945 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL introduces the connect and disconnect methods to the bluetoothLowEnergy
API, which allow an app to initiate and hold on to the connection to a low
energy device. The API calls internally manage the allocation of an API
resource corresponding to a per app, per device device::BluetoothGattConnection
object.
BUG=381305
TEST=browser_tests --gtest_filter=BluetoothLowEnergyApiTest.*
Review URL: https://codereview.chromium.org/349433002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278669 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
With this change, nested filesystems mounted onto isolated context
can remember its original filesystem id, that unblocks the issue 370782
of drag-and-drop support in chromeos::FileSystemBackend.
BUG=370782, 386062
TBR=kaznacheev, benwells, dmichael, sky
Review URL: https://codereview.chromium.org/341043008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278666 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now extension_icon_image and image_loader are safe to be used
outside of Chrome, like AppShell/Athena.
BUG=159265, 380421
R=yoz@chromium.org, jamescook@chromium.org
TBR=sky@chromium.org, fmalita@chromium.org
TEST=unit_tests, compile succeeds
Review URL: https://codereview.chromium.org/334053003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278601 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
This will open chrome://settings/languages page after called.
BUG=
Review URL: https://codereview.chromium.org/342573002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278439 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
> [fsp] Cleanup handling errors for operation requests.
>
> This CL removes redundant internal functions which are identical, and replaces
> them with one.
>
> Moreover, the new general purpose error API function, passes now the entire
> value to the request manager. This is because, very soon, we are going to
> pass extra information with every error and success responses and we want to
> have access to them in the RequestManager.
>
> NOTRY=true
> TEST=unit_tests, browser_tests: *FileSystemProvider*
> BUG=373165, 384201
>
> Review URL: https://codereview.chromium.org/335753004
TBR=mtomasz@chromium.org
Review URL: https://codereview.chromium.org/342003004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278186 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
-While we're doing the initial scan of files to build up
computed_hashes.json, if we notice a mismatch, report that right
away. This also fixes problems where if you modify/delete
computed_hashes.json, enforcement would never work.
-Avoid an infinite loop in ContentVerifyJob by making sure we stop
checking newly read bytes after we've already reported a failure
(we were stuck failing to advance to the next block after reporting
a failure)
BUG=375992,375953
Review URL: https://codereview.chromium.org/329303007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278071 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
This is effectively a revert of http://crrev.com/202763005
BUG=339004
Review URL: https://codereview.chromium.org/337323003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277972 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL removes redundant internal functions which are identical, and replaces
them with one.
Moreover, the new general purpose error API function, passes now the entire
value to the request manager. This is because, very soon, we are going to
pass extra information with every error and success responses and we want to
have access to them in the RequestManager.
NOTRY=true
TEST=unit_tests, browser_tests: *FileSystemProvider*
BUG=373165, 384201
Review URL: https://codereview.chromium.org/335753004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277929 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
According to crbug.com/307827 - the code that used media_galleries_handlers has been removed.
BUG=NONE
NOTRY=true
Review URL: https://codereview.chromium.org/338473003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277773 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
getProfileUserInfo returns the email address and obfuscated gaia id of
the user signed into a profile. If the user is not signed in, empty
strings are returned.
This API is different from identity.getAccounts in two ways. The information returned is available offline, and it only applies to the primary account for the profile (even when multiple login is enabled).
BUG=368343
Review URL: https://codereview.chromium.org/327403003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277724 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
For example, this error occurs if one tries to store a base::BinaryValue.
BUG=NONE
Review URL: https://codereview.chromium.org/326393002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277413 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Split from https://codereview.chromium.org/308003005/ for extensions
system changes that allows to install a none syncable Extension.
- Add a do_not_sync pref to ExtensionPrefs;
- Add a kInstallFlagDoNotSync that CrxInstaller uses to initialize the pref;
- Update util::ShouldSyncApp and add ShouldSyncExtension to use the pref to skip sync in ExtensionSyncService;
BUG=358791
Review URL: https://codereview.chromium.org/323843003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277269 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL removes the code responsible for providing PLT histogram data for specific extensions using the WebRequest API.
Code providing such data not bound to specific extensions is kept.
BUG=100411
Review URL: https://codereview.chromium.org/335573003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277096 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
take a bitmask instead of 4 boolean values (soon to be 5).
As part of that, change the default-true flag "wait for idle" to a
default-false flag "install immediately".
R=asargent@chromium.org
TBR=estade@chromium.org, atwilson@chromium.org, dimich@chromium.org
Review URL: https://codereview.chromium.org/322893002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276999 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=276723
Review URL: https://codereview.chromium.org/317993003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276871 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ExtensionRegistry observers will be notified when an extension install
is fully complete, i.e. after the extension has been loaded or added
to one of the registry extension sets.
This allows the WebstoreInstaller completion to be delayed until the
extension has been loaded. Workarounds in EphemeralAppLauncher for
launching an app can now be cleaned up since we are now assured that
the app has been loaded.
BUG=None
TEST=browser_tests
Review URL: https://codereview.chromium.org/326213004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276666 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is the first step in refactoring the (overly-gigantic)
extension_service_unittest.cc
BUG=381251
TBR=atwilson@chromium.org (c/b/background/)
TBR=bauerb@chromium.org (c/b/managed_mode/)
TBR=battre@chromium.org (c/b/profile_resetter/)
TBR=pkotwicz@chromium.org (c/b/themes)
TBR=koz@chromium.org (c/b/ui/app_list)
All TBRs are for simple mechanical changes (primarily namespace move).
Review URL: https://codereview.chromium.org/318863008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276587 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=372291
TEST=None
Review URL: https://codereview.chromium.org/305533002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276570 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Any path with a subdirectory was failing on windows because we weren't
translating to use windows path separators.
BUG=382638
Review URL: https://codereview.chromium.org/321893002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@275989 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=364141
Test=No visible change.
Review URL: https://codereview.chromium.org/299753011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@275674 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
attempt, this time with two one-liner test fixes)
Also use the browser action highlighting for extensions that have a browser action icon.
NOTE: This CL was already green-lighted here:
https://codereview.chromium.org/288923004/
BUG=381291
TBR=sky, devlin, dbeam
Review URL: https://codereview.chromium.org/320633002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@275577 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
src/extensions/browser/api/
Make it compiled and fix typo.
BUG=381706
Review URL: https://codereview.chromium.org/319543006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@275571 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The methods GetActivePermission() and HasAPIPermission() have been deprecated
for more than a year. Finally remove them.
Also clean up some includes in extension.h, and fix transitive includes.
BUG=379356
TBR=atwilson@chromium.org (c/b/background)
TBR=yurys@chromium.org (c/b/devtools)
TBR=bauerb@chromium.org (c/b/managed_mode)
TBR=dalecurtis@chromium.org (c/b/media)
TBR=dewittj@chromium.org (c/b/notifications)
TBR=msw@chromium.org (c/b/ui)
All TBRs are for strictly mechanical changes - no functional difference.
Review URL: https://codereview.chromium.org/314113010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@275531 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Since ExtensionRegistry provide canonical way, use ExtensionRegistry instead.
BUG=374353
TEST=unit_tests
Review URL: https://codereview.chromium.org/298023009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@275434 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There's no reason to have this. It was originally because PermissionsData
didn't really belong on Extension (and was to be taken off), but now that
PermissionsData is refactored to only include active permissions, it belongs
on the extension object.
TBR=ben@chromium.org (c/b/ui - simple refactor, no functional changes)
TBR=thestig@chromium.org (c/b/media_galleries - simple refactor, no functional changes)
BUG=379356
Review URL: https://codereview.chromium.org/315573003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@275332 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
> Add an extension override bubble and warning box for proxy extensions.
>
> Also use the browser action highlighting for extensions that have a browser action icon.
>
> BUG=381291
> R=dbeam@chromium.org, rdevlin.cronin@chromium.org, sky@chromium.org
>
> Review URL: https://codereview.chromium.org/288923004
TBR=finnur@chromium.org
Review URL: https://codereview.chromium.org/312403003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@275255 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Also use the browser action highlighting for extensions that have a browser action icon.
BUG=381291
R=dbeam@chromium.org, rdevlin.cronin@chromium.org, sky@chromium.org
Review URL: https://codereview.chromium.org/288923004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@275229 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In this CL, we:
- Make PermissionsData not-so-static. Only methods which either don't rely on
knowledge of specific permissions or methods to get/create the object are
static.
- Separate runtime permissions knowledge from manifest parsing (PermissionsData
vs PermissionsParser)
- Move required/optional permissions access into PermissionsParser.
- Handle the locking issues.
BUG=379356
TBR=sky@chromium.org (for c/b/ui/, no functional changes)
Review URL: https://codereview.chromium.org/309533007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@275142 0039d316-1c4b-4281-b951-d872f2087c98
|