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

Unified Diff: chrome/browser/extensions/api/identity/web_auth_flow.h

Issue 166573005: Rename apps::ShellWindow to apps::AppWindow (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase, nits (rename) Created 6 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/api/identity/web_auth_flow.h
diff --git a/chrome/browser/extensions/api/identity/web_auth_flow.h b/chrome/browser/extensions/api/identity/web_auth_flow.h
index ed96cfa7515a5f9fc19f387891f396c404c06372..169cc329afbc5f3ed13b3029a0a30398bd2d0466 100644
--- a/chrome/browser/extensions/api/identity/web_auth_flow.h
+++ b/chrome/browser/extensions/api/identity/web_auth_flow.h
@@ -7,7 +7,7 @@
#include <string>
-#include "apps/shell_window_registry.h"
+#include "apps/app_window_registry.h"
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
#include "content/public/browser/web_contents_observer.h"
@@ -45,7 +45,7 @@ namespace extensions {
// a window. If a window would be required, the flow fails.
class WebAuthFlow : public content::NotificationObserver,
public content::WebContentsObserver,
- public apps::ShellWindowRegistry::Observer {
+ public apps::AppWindowRegistry::Observer {
public:
enum Mode {
INTERACTIVE, // Show UI to the user if necessary.
@@ -91,11 +91,10 @@ class WebAuthFlow : public content::NotificationObserver,
private:
friend class ::WebAuthFlowTest;
- // ::ShellWindowRegistry::Observer implementation.
- virtual void OnShellWindowAdded(apps::ShellWindow* shell_window) OVERRIDE;
- virtual void OnShellWindowIconChanged(apps::ShellWindow* shell_window)
- OVERRIDE;
- virtual void OnShellWindowRemoved(apps::ShellWindow* shell_window) OVERRIDE;
+ // ::AppWindowRegistry::Observer implementation.
+ virtual void OnAppWindowAdded(apps::AppWindow* app_window) OVERRIDE;
+ virtual void OnAppWindowIconChanged(apps::AppWindow* app_window) OVERRIDE;
+ virtual void OnAppWindowRemoved(apps::AppWindow* app_window) OVERRIDE;
// NotificationObserver implementation.
virtual void Observe(int type,
@@ -134,8 +133,8 @@ class WebAuthFlow : public content::NotificationObserver,
GURL provider_url_;
Mode mode_;
- apps::ShellWindow* shell_window_;
- std::string shell_window_key_;
+ apps::AppWindow* app_window_;
+ std::string app_window_key_;
bool embedded_window_created_;
content::NotificationRegistrar registrar_;
« no previous file with comments | « chrome/browser/extensions/api/file_system/file_system_api.cc ('k') | chrome/browser/extensions/api/identity/web_auth_flow.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698