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

Side by Side Diff: content/shell/browser/shell_login_dialog_gtk.cc

Issue 102593002: Convert string16 to base::string16 in content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 "content/shell/browser/shell_login_dialog.h" 5 #include "content/shell/browser/shell_login_dialog.h"
6 6
7 #include <gtk/gtk.h> 7 #include <gtk/gtk.h>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
11 #include "base/strings/utf_string_conversions.h" 11 #include "base/strings/utf_string_conversions.h"
12 #include "content/public/browser/browser_thread.h" 12 #include "content/public/browser/browser_thread.h"
13 #include "content/public/browser/render_view_host.h" 13 #include "content/public/browser/render_view_host.h"
14 #include "content/public/browser/resource_dispatcher_host.h" 14 #include "content/public/browser/resource_dispatcher_host.h"
15 #include "content/public/browser/resource_request_info.h" 15 #include "content/public/browser/resource_request_info.h"
16 #include "content/public/browser/web_contents.h" 16 #include "content/public/browser/web_contents.h"
17 #include "content/public/browser/web_contents_view.h" 17 #include "content/public/browser/web_contents_view.h"
18 #include "ui/base/gtk/gtk_hig_constants.h" 18 #include "ui/base/gtk/gtk_hig_constants.h"
19 19
20 namespace content { 20 namespace content {
21 21
22 void ShellLoginDialog::PlatformCreateDialog(const string16& message) { 22 void ShellLoginDialog::PlatformCreateDialog(const base::string16& message) {
23 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); 23 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
24 24
25 int render_process_id; 25 int render_process_id;
26 int render_view_id; 26 int render_view_id;
27 if (!ResourceRequestInfo::ForRequest(request_)->GetAssociatedRenderView( 27 if (!ResourceRequestInfo::ForRequest(request_)->GetAssociatedRenderView(
28 &render_process_id, &render_view_id)) { 28 &render_process_id, &render_view_id)) {
29 NOTREACHED(); 29 NOTREACHED();
30 } 30 }
31 31
32 WebContents* web_contents = NULL; 32 WebContents* web_contents = NULL;
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 UserCancelledAuth(); 102 UserCancelledAuth();
103 break; 103 break;
104 default: 104 default:
105 NOTREACHED(); 105 NOTREACHED();
106 } 106 }
107 107
108 gtk_widget_destroy(root_); 108 gtk_widget_destroy(root_);
109 } 109 }
110 110
111 } // namespace content 111 } // namespace content
OLDNEW
« no previous file with comments | « content/shell/browser/shell_login_dialog.cc ('k') | content/shell/browser/shell_login_dialog_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698