Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(26)

Side by Side Diff: chrome/browser/extensions/webstore_ephemeral_installer.cc

Issue 15239002: Move Extension and PermissionsData to extensions/common. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/extensions/webstore_ephemeral_installer.h" 5 #include "chrome/browser/extensions/webstore_ephemeral_installer.h"
6 6
7 #include "chrome/browser/extensions/extension_install_prompt.h" 7 #include "chrome/browser/extensions/extension_install_prompt.h"
8 #include "chrome/browser/extensions/extension_service.h" 8 #include "chrome/browser/extensions/extension_service.h"
9 #include "chrome/browser/extensions/extension_system.h" 9 #include "chrome/browser/extensions/extension_system.h"
10 #include "chrome/browser/profiles/profile.h" 10 #include "chrome/browser/profiles/profile.h"
11 #include "chrome/browser/ui/extensions/application_launch.h" 11 #include "chrome/browser/ui/extensions/application_launch.h"
12 #include "chrome/common/extensions/permissions/permissions_data.h"
13 #include "content/public/browser/browser_thread.h" 12 #include "content/public/browser/browser_thread.h"
14 #include "content/public/browser/web_contents.h" 13 #include "content/public/browser/web_contents.h"
15 #include "content/public/browser/web_contents_view.h" 14 #include "content/public/browser/web_contents_view.h"
15 #include "extensions/common/permissions/permissions_data.h"
16 16
17 using content::WebContents; 17 using content::WebContents;
18 18
19 namespace extensions { 19 namespace extensions {
20 20
21 namespace { 21 namespace {
22 22
23 // TODO(tmdiep): Launching the app will be moved downstream when an ephemeral 23 // TODO(tmdiep): Launching the app will be moved downstream when an ephemeral
24 // app service/manager is implemented. 24 // app service/manager is implemented.
25 void LaunchApp(Profile* profile, const std::string& id) { 25 void LaunchApp(Profile* profile, const std::string& id) {
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 return make_scoped_ptr( 196 return make_scoped_ptr(
197 new ExtensionInstallPrompt(profile(), parent_window_, NULL)); 197 new ExtensionInstallPrompt(profile(), parent_window_, NULL));
198 } 198 }
199 199
200 void WebstoreEphemeralInstaller::WebContentsDestroyed( 200 void WebstoreEphemeralInstaller::WebContentsDestroyed(
201 content::WebContents* web_contents) { 201 content::WebContents* web_contents) {
202 AbortInstall(); 202 AbortInstall();
203 } 203 }
204 204
205 } // namespace extensions 205 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/extensions/user_script_master.cc ('k') | chrome/browser/extensions/webstore_installer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698