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

Side by Side Diff: content/browser/web_contents/navigation_controller_impl.cc

Issue 11275088: Remove implicit scoped_refptr operator T* Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 8 years, 1 month 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
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 "content/browser/web_contents/navigation_controller_impl.h" 5 #include "content/browser/web_contents/navigation_controller_impl.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/file_util.h" 8 #include "base/file_util.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/string_number_conversions.h" // Temporary 10 #include "base/string_number_conversions.h" // Temporary
(...skipping 650 matching lines...) Expand 10 before | Expand all | Expand 10 after
661 entry->SetIsOverridingUserAgent(override); 661 entry->SetIsOverridingUserAgent(override);
662 entry->set_transferred_global_request_id( 662 entry->set_transferred_global_request_id(
663 params.transferred_global_request_id); 663 params.transferred_global_request_id);
664 664
665 switch (params.load_type) { 665 switch (params.load_type) {
666 case LOAD_TYPE_DEFAULT: 666 case LOAD_TYPE_DEFAULT:
667 break; 667 break;
668 case LOAD_TYPE_BROWSER_INITIATED_HTTP_POST: 668 case LOAD_TYPE_BROWSER_INITIATED_HTTP_POST:
669 entry->SetHasPostData(true); 669 entry->SetHasPostData(true);
670 entry->SetBrowserInitiatedPostData( 670 entry->SetBrowserInitiatedPostData(
671 params.browser_initiated_post_data); 671 params.browser_initiated_post_data.get());
672 break; 672 break;
673 case LOAD_TYPE_DATA: 673 case LOAD_TYPE_DATA:
674 entry->SetBaseURLForDataURL(params.base_url_for_data_url); 674 entry->SetBaseURLForDataURL(params.base_url_for_data_url);
675 entry->SetVirtualURL(params.virtual_url_for_data_url); 675 entry->SetVirtualURL(params.virtual_url_for_data_url);
676 entry->SetCanLoadLocalResources(params.can_load_local_resources); 676 entry->SetCanLoadLocalResources(params.can_load_local_resources);
677 break; 677 break;
678 default: 678 default:
679 NOTREACHED(); 679 NOTREACHED();
680 break; 680 break;
681 }; 681 };
(...skipping 927 matching lines...) Expand 10 before | Expand all | Expand 10 after
1609 } 1609 }
1610 } 1610 }
1611 } 1611 }
1612 1612
1613 void NavigationControllerImpl::SetGetTimestampCallbackForTest( 1613 void NavigationControllerImpl::SetGetTimestampCallbackForTest(
1614 const base::Callback<base::Time()>& get_timestamp_callback) { 1614 const base::Callback<base::Time()>& get_timestamp_callback) {
1615 get_timestamp_callback_ = get_timestamp_callback; 1615 get_timestamp_callback_ = get_timestamp_callback;
1616 } 1616 }
1617 1617
1618 } // namespace content 1618 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/speech/speech_recognizer_unittest.cc ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698