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

Side by Side Diff: chrome_frame/chrome_frame_automation.cc

Issue 333043: If a HTTP post to a server returns any redirect code other than 307, then bro... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome_frame/plugin_url_request.h » ('j') | chrome_frame/urlmon_url_request.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_frame/chrome_frame_automation.h" 5 #include "chrome_frame/chrome_frame_automation.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/file_util.h" 9 #include "base/file_util.h"
10 #include "base/file_version_info.h" 10 #include "base/file_version_info.h"
(...skipping 1042 matching lines...) Expand 10 before | Expand all | Expand 10 after
1053 RequestMap::iterator index = request_map_.begin(); 1053 RequestMap::iterator index = request_map_.begin();
1054 while (index != request_map_.end()) { 1054 while (index != request_map_.end()) {
1055 PluginUrlRequest* request = (*index).second; 1055 PluginUrlRequest* request = (*index).second;
1056 if (request) { 1056 if (request) {
1057 int request_id = request->id(); 1057 int request_id = request->id();
1058 request->Stop(); 1058 request->Stop();
1059 } 1059 }
1060 index++; 1060 index++;
1061 } 1061 }
1062 1062
1063 DCHECK(request_map_.empty());
1064 request_map_.clear(); 1063 request_map_.clear();
1065 } 1064 }
1066 1065
1067 bool ChromeFrameAutomationClient::Reinitialize( 1066 bool ChromeFrameAutomationClient::Reinitialize(
1068 ChromeFrameDelegate* delegate) { 1067 ChromeFrameDelegate* delegate) {
1069 if (!tab_.get() || !::IsWindow(chrome_window_)) { 1068 if (!tab_.get() || !::IsWindow(chrome_window_)) {
1070 NOTREACHED(); 1069 NOTREACHED();
1071 DLOG(WARNING) << "ChromeFrameAutomationClient instance reused " 1070 DLOG(WARNING) << "ChromeFrameAutomationClient instance reused "
1072 << "with invalid tab"; 1071 << "with invalid tab";
1073 return false; 1072 return false;
(...skipping 22 matching lines...) Expand all
1096 if (font_size < SMALLEST_FONT || 1095 if (font_size < SMALLEST_FONT ||
1097 font_size > LARGEST_FONT) { 1096 font_size > LARGEST_FONT) {
1098 NOTREACHED() << "Invalid font size specified : " 1097 NOTREACHED() << "Invalid font size specified : "
1099 << font_size; 1098 << font_size;
1100 return; 1099 return;
1101 } 1100 }
1102 1101
1103 Send(new AutomationMsg_SetPageFontSize(0, tab_handle_, font_size)); 1102 Send(new AutomationMsg_SetPageFontSize(0, tab_handle_, font_size));
1104 } 1103 }
1105 1104
OLDNEW
« no previous file with comments | « no previous file | chrome_frame/plugin_url_request.h » ('j') | chrome_frame/urlmon_url_request.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698