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

Side by Side Diff: chrome_frame/bho.cc

Issue 6382005: Unpatch the ChromeFrame IHttpNegotiate patch for all browsers.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/bho.h" 5 #include "chrome_frame/bho.h"
6 6
7 #include <shlguid.h> 7 #include <shlguid.h>
8 8
9 #include "base/file_path.h" 9 #include "base/file_path.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
376 DCHECK(state_ == PATCH_IBROWSER); 376 DCHECK(state_ == PATCH_IBROWSER);
377 if (!IS_PATCHED(IBrowserService)) { 377 if (!IS_PATCHED(IBrowserService)) {
378 vtable_patch::PatchInterfaceMethods(browser_service, 378 vtable_patch::PatchInterfaceMethods(browser_service,
379 IBrowserService_PatchInfo); 379 IBrowserService_PatchInfo);
380 } 380 }
381 } 381 }
382 382
383 void PatchHelper::UnpatchIfNeeded() { 383 void PatchHelper::UnpatchIfNeeded() {
384 if (state_ == PATCH_PROTOCOL) { 384 if (state_ == PATCH_PROTOCOL) {
385 g_trans_hooks.RevertHooks(); 385 g_trans_hooks.RevertHooks();
386 if (GetIEVersion() == IE_9) { 386 HttpNegotiatePatch::Uninitialize();
387 HttpNegotiatePatch::Uninitialize();
388 }
389 } 387 }
390 state_ = UNKNOWN; 388 state_ = UNKNOWN;
391 } 389 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698