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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "chrome/browser/ui/extensions/web_auth_flow_window.h"
6
7 #include "content/public/browser/browser_context.h"
8
9 using content::BrowserContext;
10 using content::WebContents;
11
12 WebAuthFlowWindow* WebAuthFlowWindow::Create(
Mihai Parparita -not on Chrome 2012/05/14 20:59:39 If all this does is call WebAuthFlowWindow::Create
Munjal (Google) 2012/05/15 00:55:20 Done. Yeah, thought about it when I did this but
13 Delegate* delegate,
14 BrowserContext* browser_context,
15 WebContents* contents) {
16 // This object will delete itself when the window is closed.
17 return WebAuthFlowWindow::CreateWebAuthFlowWindow(
18 delegate, browser_context, contents);
19 }
20
21 WebAuthFlowWindow::WebAuthFlowWindow(
22 Delegate* delegate,
23 BrowserContext* browser_context,
24 WebContents* contents)
25 : delegate_(delegate),
26 browser_context_(browser_context),
27 contents_(contents) {
28 }
29
30 WebAuthFlowWindow::~WebAuthFlowWindow() {
31 }
32
33 // TODO(munjal): Remove this once we have mac/linux implementations.
34 #ifndef TOOLKIT_VIEWS
35 // static
36 WebAuthFlowWindow* WebAuthFlowWindow::CreateWebAuthFlowWindow(
37 Delegate* delegate,
38 BrowserContext* browser_context,
39 WebContents* contents) {
40 return NULL;
41 }
42 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698