HomeSort by relevance Sort by last modified time
    Searched refs:Approval (Results 1 - 13 of 13) sorted by null

  /external/chromium_org/chrome/browser/extensions/
webstore_installer.h 92 // download was initiated by WebstoreInstaller. The Approval instance should
94 struct Approval : public base::SupportsUserData::Data {
95 static scoped_ptr<Approval> CreateWithInstallPrompt(Profile* profile);
97 // Creates an Approval for installing a shared module.
98 static scoped_ptr<Approval> CreateForSharedModule(Profile* profile);
100 // Creates an Approval that will skip putting up an install confirmation
105 static scoped_ptr<Approval> CreateWithNoInstallPrompt(
111 virtual ~Approval();
158 Approval();
161 // Gets the Approval associated with the |download|, or NULL if there's none
    [all...]
webstore_installer.cc 71 // Key used to attach the Approval to the DownloadItem.
202 WebstoreInstaller::Approval::Approval()
212 scoped_ptr<WebstoreInstaller::Approval>
213 WebstoreInstaller::Approval::CreateWithInstallPrompt(Profile* profile) {
214 scoped_ptr<Approval> result(new Approval());
219 scoped_ptr<WebstoreInstaller::Approval>
220 WebstoreInstaller::Approval::CreateForSharedModule(Profile* profile) {
221 scoped_ptr<Approval> result(new Approval())
438 scoped_ptr<Approval> approval = Approval::CreateForSharedModule(profile_); local
    [all...]
webstore_standalone_installer.cc 91 scoped_ptr<WebstoreInstaller::Approval>
93 scoped_ptr<WebstoreInstaller::Approval> approval(
94 WebstoreInstaller::Approval::CreateWithNoInstallPrompt(
99 approval->skip_post_install_ui = !ShouldShowPostInstallUI();
100 approval->use_app_installed_bubble = ShouldShowAppInstalledBubble();
101 approval->installing_icon = gfx::ImageSkia::CreateFrom1xBitmap(icon_);
102 return approval.Pass();
240 scoped_ptr<WebstoreInstaller::Approval> approval = CreateApproval() local
    [all...]
crx_installer_browsertest.cc 140 scoped_ptr<WebstoreInstaller::Approval> GetApproval(
144 scoped_ptr<WebstoreInstaller::Approval> result;
153 return WebstoreInstaller::Approval::CreateWithNoInstallPrompt(
160 void RunCrxInstaller(const WebstoreInstaller::Approval* approval,
166 CrxInstaller::Create(service, prompt.Pass(), approval));
180 scoped_ptr<WebstoreInstaller::Approval> approval; local
182 approval = GetApproval(ext_relpath, id, true);
186 RunCrxInstaller(approval.get(), mock_install_prompt->CreatePrompt()
475 scoped_ptr<WebstoreInstaller::Approval> approval = local
    [all...]
webstore_standalone_installer.h 120 // Create an approval to pass installation parameters to the CrxInstaller.
121 virtual scoped_ptr<WebstoreInstaller::Approval> CreateApproval() const;
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);
207 const WebstoreInstaller::Approval* approval);
bundle_installer.cc 157 // Since we've already confirmed the permissions, create an approval that
159 scoped_ptr<WebstoreInstaller::Approval> approval(
160 WebstoreInstaller::Approval::CreateWithNoInstallPrompt(
165 approval->use_app_installed_bubble = false;
166 approval->skip_post_install_ui = true;
173 approval.Pass(),
crx_installer.cc 101 const WebstoreInstaller::Approval* approval) {
102 return new CrxInstaller(service->AsWeakPtr(), client.Pass(), approval);
108 const WebstoreInstaller::Approval* approval)
134 if (!approval)
137 CHECK(profile()->IsSameProfile(approval->profile));
140 approval->use_app_installed_bubble);
142 approval->skip_post_install_ui);
145 if (approval->skip_install_dialog)
    [all...]
  /external/chromium_org/chrome/browser/extensions/api/webstore_private/
webstore_private_api.cc 70 void PushApproval(scoped_ptr<WebstoreInstaller::Approval> approval);
71 scoped_ptr<WebstoreInstaller::Approval> PopApproval(
74 typedef ScopedVector<WebstoreInstaller::Approval> ApprovalList;
85 scoped_ptr<WebstoreInstaller::Approval> approval) {
86 approvals_.push_back(approval.release());
89 scoped_ptr<WebstoreInstaller::Approval> PendingApprovals::PopApproval(
92 WebstoreInstaller::Approval* approval = approvals_[i] local
    [all...]
webstore_private_api.h 39 // Gets the pending approval for the |extension_id| in |profile|. Pending
42 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...]
  /external/chromium_org/chrome/browser/apps/
ephemeral_app_launcher.h 84 virtual scoped_ptr<extensions::WebstoreInstaller::Approval>
ephemeral_app_launcher.cc 198 scoped_ptr<WebstoreInstaller::Approval>
200 scoped_ptr<WebstoreInstaller::Approval> approval = local
202 approval->is_ephemeral = true;
203 return approval.Pass();

Completed in 155 milliseconds