OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Approval
(Results
1 - 10
of
10
) sorted by null
/external/chromium_org/chrome/browser/extensions/
webstore_installer.h
75
// download was initiated by WebstoreInstaller. The
Approval
instance should
77
struct
Approval
: public base::SupportsUserData::Data {
78
static scoped_ptr<
Approval
> CreateWithInstallPrompt(Profile* profile);
79
static scoped_ptr<
Approval
> CreateWithNoInstallPrompt(
84
virtual ~
Approval
();
118
Approval
();
121
// Gets the
Approval
associated with the |download|, or NULL if there's none.
122
// Note that the
Approval
is owned by |download|.
123
static const
Approval
* GetAssociatedApproval(
131
// also associates the |
approval
| with this install
[
all
...]
webstore_installer.cc
62
// Key used to attach the
Approval
to the DownloadItem.
162
WebstoreInstaller::
Approval
::
Approval
()
170
scoped_ptr<WebstoreInstaller::
Approval
>
171
WebstoreInstaller::
Approval
::CreateWithInstallPrompt(Profile* profile) {
172
scoped_ptr<
Approval
> result(new
Approval
());
177
scoped_ptr<WebstoreInstaller::
Approval
>
178
WebstoreInstaller::
Approval
::CreateWithNoInstallPrompt(
182
scoped_ptr<
Approval
> result(new Approval())
[
all
...]
crx_installer.h
89
// Same as the previous method, except use the |
approval
| to bypass the
90
// prompt. Note that the caller retains ownership of |
approval
|.
94
const WebstoreInstaller::
Approval
*
approval
);
206
const WebstoreInstaller::
Approval
*
approval
);
webstore_standalone_installer.cc
208
scoped_ptr<WebstoreInstaller::
Approval
>
approval
(
209
WebstoreInstaller::
Approval
::CreateWithNoInstallPrompt(
213
approval
->skip_post_install_ui = !ShouldShowPostInstallUI();
214
approval
->use_app_installed_bubble = ShouldShowAppInstalledBubble();
221
approval
.Pass(),
bundle_installer.cc
158
// Since we've already confirmed the permissions, create an
approval
that
160
scoped_ptr<WebstoreInstaller::
Approval
>
approval
(
161
WebstoreInstaller::
Approval
::CreateWithNoInstallPrompt(
166
approval
->use_app_installed_bubble = false;
167
approval
->skip_post_install_ui = true;
174
approval
.Pass(),
crx_installer_browsertest.cc
148
scoped_ptr<WebstoreInstaller::
Approval
>
approval
;
150
approval
= WebstoreInstaller::
Approval
::CreateWithNoInstallPrompt(
159
approval
.get() /* keep ownership */));
crx_installer.cc
93
const WebstoreInstaller::
Approval
*
approval
) {
94
return new CrxInstaller(service->AsWeakPtr(), client.Pass(),
approval
);
100
const WebstoreInstaller::
Approval
*
approval
)
123
if (!
approval
)
126
CHECK(profile()->IsSameProfile(
approval
->profile));
129
approval
->use_app_installed_bubble);
130
client_->install_ui()->SetSkipPostInstallUI(
approval
->skip_post_install_ui);
133
if (
approval
->skip_install_dialog)
[
all
...]
/external/chromium_org/chrome/browser/extensions/api/webstore_private/
webstore_private_api.cc
58
void PushApproval(scoped_ptr<WebstoreInstaller::
Approval
>
approval
);
59
scoped_ptr<WebstoreInstaller::
Approval
> PopApproval(
62
typedef ScopedVector<WebstoreInstaller::
Approval
> ApprovalList;
73
scoped_ptr<WebstoreInstaller::
Approval
>
approval
) {
74
approvals_.push_back(
approval
.release());
77
scoped_ptr<WebstoreInstaller::
Approval
> PendingApprovals::PopApproval(
80
WebstoreInstaller::
Approval
*
approval
= approvals_[i]
local
[
all
...]
webstore_private_api.h
38
// Gets the pending
approval
for the |extension_id| in |profile|. Pending
41
static scoped_ptr<WebstoreInstaller::
Approval
> PopApprovalForTesting(
193
scoped_ptr<WebstoreInstaller::
Approval
> approval_;
webstore_private_apitest.cc
277
scoped_ptr<WebstoreInstaller::
Approval
>
approval
=
local
279
EXPECT_EQ(appId,
approval
->extension_id);
280
EXPECT_TRUE(
approval
->use_app_installed_bubble);
281
EXPECT_FALSE(
approval
->skip_post_install_ui);
282
EXPECT_EQ(browser()->profile(),
approval
->profile);
284
approval
= WebstorePrivateApi::PopApprovalForTesting(
286
EXPECT_EQ(extensionId,
approval
->extension_id);
287
EXPECT_FALSE(
approval
->use_app_installed_bubble);
288
EXPECT_FALSE(
approval
->skip_post_install_ui)
[
all
...]
Completed in 123 milliseconds