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

Side by Side Diff: chrome/browser/extensions/api/identity/web_auth_flow.cc

Issue 12036003: Move window_open_disposition.h from webkit/ into ui/base. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win Created 7 years, 11 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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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 #include "chrome/browser/extensions/api/identity/web_auth_flow.h" 5 #include "chrome/browser/extensions/api/identity/web_auth_flow.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/location.h" 9 #include "base/location.h"
10 #include "base/message_loop.h" 10 #include "base/message_loop.h"
11 #include "base/string_util.h"
11 #include "base/stringprintf.h" 12 #include "base/stringprintf.h"
12 #include "base/string_util.h"
13 #include "chrome/browser/profiles/profile.h" 13 #include "chrome/browser/profiles/profile.h"
14 #include "chrome/browser/ui/browser.h" 14 #include "chrome/browser/ui/browser.h"
15 #include "chrome/browser/ui/browser_navigator.h" 15 #include "chrome/browser/ui/browser_navigator.h"
16 #include "chrome/common/chrome_switches.h" 16 #include "chrome/common/chrome_switches.h"
17 #include "content/public/browser/load_notification_details.h" 17 #include "content/public/browser/load_notification_details.h"
18 #include "content/public/browser/navigation_controller.h" 18 #include "content/public/browser/navigation_controller.h"
19 #include "content/public/browser/notification_details.h" 19 #include "content/public/browser/notification_details.h"
20 #include "content/public/browser/notification_source.h" 20 #include "content/public/browser/notification_source.h"
21 #include "content/public/browser/notification_types.h" 21 #include "content/public/browser/notification_types.h"
22 #include "content/public/browser/render_view_host.h" 22 #include "content/public/browser/render_view_host.h"
23 #include "content/public/browser/resource_request_details.h" 23 #include "content/public/browser/resource_request_details.h"
24 #include "content/public/browser/web_contents.h" 24 #include "content/public/browser/web_contents.h"
25 #include "content/public/common/page_transition_types.h" 25 #include "content/public/common/page_transition_types.h"
26 #include "googleurl/src/gurl.h" 26 #include "googleurl/src/gurl.h"
27 #include "webkit/glue/window_open_disposition.h"
28 #include "ipc/ipc_message.h" 27 #include "ipc/ipc_message.h"
28 #include "ui/base/window_open_disposition.h"
29 29
30 using content::LoadNotificationDetails; 30 using content::LoadNotificationDetails;
31 using content::NavigationController; 31 using content::NavigationController;
32 using content::RenderViewHost; 32 using content::RenderViewHost;
33 using content::ResourceRedirectDetails; 33 using content::ResourceRedirectDetails;
34 using content::WebContents; 34 using content::WebContents;
35 using content::WebContentsObserver; 35 using content::WebContentsObserver;
36 36
37 namespace { 37 namespace {
38 38
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 210
211 void WebAuthFlow::InitValidRedirectUrlPrefixes( 211 void WebAuthFlow::InitValidRedirectUrlPrefixes(
212 const std::string& extension_id) { 212 const std::string& extension_id) {
213 valid_prefixes_.push_back(base::StringPrintf( 213 valid_prefixes_.push_back(base::StringPrintf(
214 kChromeExtensionSchemeUrlPattern, extension_id.c_str())); 214 kChromeExtensionSchemeUrlPattern, extension_id.c_str()));
215 valid_prefixes_.push_back(base::StringPrintf( 215 valid_prefixes_.push_back(base::StringPrintf(
216 kChromiumDomainRedirectUrlPattern, extension_id.c_str())); 216 kChromiumDomainRedirectUrlPattern, extension_id.c_str()));
217 } 217 }
218 218
219 } // namespace extensions 219 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/identity/identity_api.cc ('k') | chrome/browser/extensions/extension_tab_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698