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

Side by Side Diff: chrome/browser/ui/webui/signin/inline_login_ui.cc

Issue 498773003: Use a qualified path for chromium_strings, google_chrome_strings, and generated_resources. (part 2 … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 3 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/ui/webui/signin/inline_login_ui.h" 5 #include "chrome/browser/ui/webui/signin/inline_login_ui.h"
6 6
7 #include "chrome/browser/extensions/chrome_extension_web_contents_observer.h" 7 #include "chrome/browser/extensions/chrome_extension_web_contents_observer.h"
8 #include "chrome/browser/profiles/profile.h" 8 #include "chrome/browser/profiles/profile.h"
9 #include "chrome/browser/sessions/session_tab_helper.h" 9 #include "chrome/browser/sessions/session_tab_helper.h"
10 #include "chrome/common/url_constants.h" 10 #include "chrome/common/url_constants.h"
11 #include "chrome/grit/chromium_strings.h"
11 #include "content/public/browser/render_frame_host.h" 12 #include "content/public/browser/render_frame_host.h"
12 #include "content/public/browser/web_ui.h" 13 #include "content/public/browser/web_ui.h"
13 #include "content/public/browser/web_ui_data_source.h" 14 #include "content/public/browser/web_ui_data_source.h"
14 #include "grit/browser_resources.h" 15 #include "grit/browser_resources.h"
15 #include "grit/chromium_strings.h"
16 #if defined(OS_CHROMEOS) 16 #if defined(OS_CHROMEOS)
17 #include "chrome/browser/ui/webui/chromeos/login/inline_login_handler_chromeos.h " 17 #include "chrome/browser/ui/webui/chromeos/login/inline_login_handler_chromeos.h "
18 #else 18 #else
19 #include "chrome/browser/ui/webui/signin/inline_login_handler_impl.h" 19 #include "chrome/browser/ui/webui/signin/inline_login_handler_impl.h"
20 #endif 20 #endif
21 21
22 namespace { 22 namespace {
23 23
24 content::WebUIDataSource* CreateWebUIDataSource() { 24 content::WebUIDataSource* CreateWebUIDataSource() {
25 content::WebUIDataSource* source = 25 content::WebUIDataSource* source =
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 std::set<content::RenderFrameHost*> frame_set; 83 std::set<content::RenderFrameHost*> frame_set;
84 web_contents->ForEachFrame( 84 web_contents->ForEachFrame(
85 base::Bind(&AddToSetIfIsAuthIframe, &frame_set, 85 base::Bind(&AddToSetIfIsAuthIframe, &frame_set,
86 parent_origin, parent_frame_name)); 86 parent_origin, parent_frame_name));
87 DCHECK_GE(1U, frame_set.size()); 87 DCHECK_GE(1U, frame_set.size());
88 if (!frame_set.empty()) 88 if (!frame_set.empty())
89 return *frame_set.begin(); 89 return *frame_set.begin();
90 90
91 return NULL; 91 return NULL;
92 } 92 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698