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

Side by Side Diff: chrome/browser/apps/ephemeral_app_launcher.h

Issue 257153003: We have a problem in the process on destroying WebContentsImpl because (Closed) Base URL: https://git.chromium.org/chromium/src.git@master
Patch Set: Rebased onto origin/master again, resolved conflicts Created 6 years, 7 months 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
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 #ifndef CHROME_BROWSER_APPS_EPHEMERAL_APP_LAUNCHER_H_ 5 #ifndef CHROME_BROWSER_APPS_EPHEMERAL_APP_LAUNCHER_H_
6 #define CHROME_BROWSER_APPS_EPHEMERAL_APP_LAUNCHER_H_ 6 #define CHROME_BROWSER_APPS_EPHEMERAL_APP_LAUNCHER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 std::string* error) const OVERRIDE; 83 std::string* error) const OVERRIDE;
84 virtual bool CheckInstallValid( 84 virtual bool CheckInstallValid(
85 const base::DictionaryValue& manifest, 85 const base::DictionaryValue& manifest,
86 std::string* error) OVERRIDE; 86 std::string* error) OVERRIDE;
87 virtual scoped_ptr<ExtensionInstallPrompt> CreateInstallUI() OVERRIDE; 87 virtual scoped_ptr<ExtensionInstallPrompt> CreateInstallUI() OVERRIDE;
88 virtual scoped_ptr<extensions::WebstoreInstaller::Approval> 88 virtual scoped_ptr<extensions::WebstoreInstaller::Approval>
89 CreateApproval() const OVERRIDE; 89 CreateApproval() const OVERRIDE;
90 virtual void CompleteInstall(const std::string& error) OVERRIDE; 90 virtual void CompleteInstall(const std::string& error) OVERRIDE;
91 91
92 // content::WebContentsObserver implementation. 92 // content::WebContentsObserver implementation.
93 virtual void WebContentsDestroyed( 93 virtual void WebContentsDestroyed() OVERRIDE;
94 content::WebContents* web_contents) OVERRIDE;
95 94
96 // ExtensionRegistryObserver implementation. 95 // ExtensionRegistryObserver implementation.
97 virtual void OnExtensionLoaded( 96 virtual void OnExtensionLoaded(
98 content::BrowserContext* browser_context, 97 content::BrowserContext* browser_context,
99 const extensions::Extension* extension) OVERRIDE; 98 const extensions::Extension* extension) OVERRIDE;
100 99
101 // ExtensionEnableFlowDelegate implementation. 100 // ExtensionEnableFlowDelegate implementation.
102 virtual void ExtensionEnableFlowFinished() OVERRIDE; 101 virtual void ExtensionEnableFlowFinished() OVERRIDE;
103 virtual void ExtensionEnableFlowAborted(bool user_initiated) OVERRIDE; 102 virtual void ExtensionEnableFlowAborted(bool user_initiated) OVERRIDE;
104 103
105 // Listen to extension unloaded notifications. 104 // Listen to extension unloaded notifications.
106 ScopedObserver<extensions::ExtensionRegistry, 105 ScopedObserver<extensions::ExtensionRegistry,
107 extensions::ExtensionRegistryObserver> 106 extensions::ExtensionRegistryObserver>
108 extension_registry_observer_; 107 extension_registry_observer_;
109 108
110 gfx::NativeWindow parent_window_; 109 gfx::NativeWindow parent_window_;
111 scoped_ptr<content::WebContents> dummy_web_contents_; 110 scoped_ptr<content::WebContents> dummy_web_contents_;
112 111
113 // Created in CheckInstallValid(). 112 // Created in CheckInstallValid().
114 scoped_refptr<extensions::Extension> extension_; 113 scoped_refptr<extensions::Extension> extension_;
115 114
116 scoped_ptr<ExtensionEnableFlow> extension_enable_flow_; 115 scoped_ptr<ExtensionEnableFlow> extension_enable_flow_;
117 116
118 DISALLOW_COPY_AND_ASSIGN(EphemeralAppLauncher); 117 DISALLOW_COPY_AND_ASSIGN(EphemeralAppLauncher);
119 }; 118 };
120 119
121 #endif // CHROME_BROWSER_APPS_EPHEMERAL_APP_LAUNCHER_H_ 120 #endif // CHROME_BROWSER_APPS_EPHEMERAL_APP_LAUNCHER_H_
OLDNEW
« no previous file with comments | « chrome/browser/android/shortcut_helper.cc ('k') | chrome/browser/apps/ephemeral_app_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698