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

Unified Diff: chrome/browser/ui/extensions/web_auth_flow_window.cc

Issue 10178020: Start implementing an auth flow for platform apps to be able to do auth (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/extensions/web_auth_flow_window.cc
===================================================================
--- chrome/browser/ui/extensions/web_auth_flow_window.cc (revision 0)
+++ chrome/browser/ui/extensions/web_auth_flow_window.cc (revision 0)
@@ -0,0 +1,34 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "chrome/browser/ui/extensions/web_auth_flow_window.h"
+
+#include "content/public/browser/browser_context.h"
+
+using content::BrowserContext;
+using content::WebContents;
+
+// TODO(munjal): Remove this once we have mac/linux implementations.
+#ifndef TOOLKIT_VIEWS
+// static
+WebAuthFlowWindow* WebAuthFlowWindow::Create(
+ Delegate* delegate,
+ BrowserContext* browser_context,
+ WebContents* contents) {
+ return NULL;
+}
+#endif
+
+WebAuthFlowWindow::~WebAuthFlowWindow() {
+}
+
+WebAuthFlowWindow::WebAuthFlowWindow(
+ Delegate* delegate,
+ BrowserContext* browser_context,
+ WebContents* contents)
+ : delegate_(delegate),
+ browser_context_(browser_context),
+ contents_(contents) {
+}
+
« no previous file with comments | « chrome/browser/ui/extensions/web_auth_flow_window.h ('k') | chrome/browser/ui/views/extensions/web_auth_flow_window_views.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698