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

Side by Side Diff: chrome_frame/buggy_bho_handling.cc

Issue 19526005: Update include paths in chrome_frame for base/process changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 | chrome_frame/chrome_frame_activex.cc » ('j') | 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) 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_frame/buggy_bho_handling.h" 5 #include "chrome_frame/buggy_bho_handling.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/process_util.h" 10 #include "base/process/memory.h"
11 #include "base/win/scoped_comptr.h" 11 #include "base/win/scoped_comptr.h"
12 #include "chrome_frame/exception_barrier.h" 12 #include "chrome_frame/exception_barrier.h"
13 #include "chrome_frame/function_stub.h" 13 #include "chrome_frame/function_stub.h"
14 #include "chrome_frame/pin_module.h" 14 #include "chrome_frame/pin_module.h"
15 #include "chrome_frame/utils.h" 15 #include "chrome_frame/utils.h"
16 #include "chrome_frame/vtable_patch_manager.h" 16 #include "chrome_frame/vtable_patch_manager.h"
17 17
18 namespace buggy_bho { 18 namespace buggy_bho {
19 19
20 base::ThreadLocalPointer<BuggyBhoTls> BuggyBhoTls::s_bad_object_tls_; 20 base::ThreadLocalPointer<BuggyBhoTls> BuggyBhoTls::s_bad_object_tls_;
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 } else { 228 } else {
229 chrome_frame::PinModule(); // No backing out now. 229 chrome_frame::PinModule(); // No backing out now.
230 ::FlushInstructionCache(::GetCurrentProcess(), invoke, sizeof(PROC)); 230 ::FlushInstructionCache(::GetCurrentProcess(), invoke, sizeof(PROC));
231 } 231 }
232 } 232 }
233 ::VirtualProtect(invoke, sizeof(PROC), flags, &flags); 233 ::VirtualProtect(invoke, sizeof(PROC), flags, &flags);
234 return hr; 234 return hr;
235 } 235 }
236 236
237 } // end namespace buggy_bho 237 } // end namespace buggy_bho
OLDNEW
« no previous file with comments | « no previous file | chrome_frame/chrome_frame_activex.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698