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

Side by Side Diff: chrome/browser/automation/automation_provider.cc

Issue 105193002: Replace string16 with base::string16. (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 (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/automation/automation_provider.h" 5 #include "chrome/browser/automation/automation_provider.h"
6 6
7 #include <set> 7 #include <set>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after
505 params.search_string, 505 params.search_string,
506 params.forward, 506 params.forward,
507 params.match_case, 507 params.match_case,
508 params.find_next, 508 params.find_next,
509 reply_message); 509 reply_message);
510 } 510 }
511 511
512 void AutomationProvider::SendFindRequest( 512 void AutomationProvider::SendFindRequest(
513 WebContents* web_contents, 513 WebContents* web_contents,
514 bool with_json, 514 bool with_json,
515 const string16& search_string, 515 const base::string16& search_string,
516 bool forward, 516 bool forward,
517 bool match_case, 517 bool match_case,
518 bool find_next, 518 bool find_next,
519 IPC::Message* reply_message) { 519 IPC::Message* reply_message) {
520 int request_id = FindInPageNotificationObserver::kFindInPageRequestId; 520 int request_id = FindInPageNotificationObserver::kFindInPageRequestId;
521 FindInPageNotificationObserver* observer = 521 FindInPageNotificationObserver* observer =
522 new FindInPageNotificationObserver(this, 522 new FindInPageNotificationObserver(this,
523 web_contents, 523 web_contents,
524 with_json, 524 with_json,
525 reply_message); 525 reply_message);
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
752 752
753 return NULL; 753 return NULL;
754 } 754 }
755 755
756 void AutomationProvider::SaveAsAsync(int tab_handle) { 756 void AutomationProvider::SaveAsAsync(int tab_handle) {
757 NavigationController* tab = NULL; 757 NavigationController* tab = NULL;
758 WebContents* web_contents = GetWebContentsForHandle(tab_handle, &tab); 758 WebContents* web_contents = GetWebContentsForHandle(tab_handle, &tab);
759 if (web_contents) 759 if (web_contents)
760 web_contents->OnSavePage(); 760 web_contents->OnSavePage();
761 } 761 }
OLDNEW
« no previous file with comments | « chrome/browser/automation/automation_provider.h ('k') | chrome/browser/automation/testing_automation_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698