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

Unified Diff: chrome/browser/chromeos/login/webui_login_view.h

Issue 13872010: cros: Add a header for gaia auth requests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase, comments in #1 Created 7 years, 8 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/chromeos/login/webui_login_view.h
diff --git a/chrome/browser/chromeos/login/webui_login_view.h b/chrome/browser/chromeos/login/webui_login_view.h
index 669626a6146da17e606df2fe93e033f4b9912655..c5efe82469e95dc33bb4ac13b594482d084d9d3c 100644
--- a/chrome/browser/chromeos/login/webui_login_view.h
+++ b/chrome/browser/chromeos/login/webui_login_view.h
@@ -8,6 +8,7 @@
#include <map>
#include <string>
+#include "base/memory/scoped_ptr.h"
#include "chrome/browser/ui/views/unhandled_keyboard_event_handler.h"
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
@@ -106,6 +107,10 @@ class WebUILoginView : public views::View,
// Map type for the accelerator-to-identifier map.
typedef std::map<ui::Accelerator, std::string> AccelMap;
+ // A class to load gaia auth extension on construction and unload it on
+ // destruction.
+ class ScopedGaiaAuthExtension;
+
// Overridden from content::WebContentsDelegate.
virtual bool HandleContextMenu(
const content::ContextMenuParams& params) OVERRIDE;
@@ -157,6 +162,8 @@ class WebUILoginView : public views::View,
// True to forward keyboard event.
bool forward_keyboard_event_;
+ scoped_ptr<ScopedGaiaAuthExtension> gaia_auth_;
Nikita (slow) 2013/04/19 11:35:57 nit: gaia_auth_ext_
+
DISALLOW_COPY_AND_ASSIGN(WebUILoginView);
};
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/webui_login_view.cc » ('j') | chrome/browser/chromeos/login/webui_login_view.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698