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

Side by Side Diff: chrome_frame/chrome_tab.cc

Issue 2278003: Rewrite of chrome_launcher.exe. ETW-based perf tests suggest that this is on ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 6 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 | « chrome_frame/chrome_launcher_utils.cc ('k') | chrome_frame/chrome_tab.def » ('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) 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 // chrome_tab.cc : Implementation of DLL Exports. 5 // chrome_tab.cc : Implementation of DLL Exports.
6 6
7 // Include without path to make GYP build see it. 7 // Include without path to make GYP build see it.
8 #include "chrome_tab.h" // NOLINT 8 #include "chrome_tab.h" // NOLINT
9 9
10 #include <atlsecurity.h> 10 #include <atlsecurity.h>
(...skipping 12 matching lines...) Expand all
23 #include "base/sys_string_conversions.h" 23 #include "base/sys_string_conversions.h"
24 #include "base/win_util.h" 24 #include "base/win_util.h"
25 #include "chrome/common/chrome_constants.h" 25 #include "chrome/common/chrome_constants.h"
26 #include "grit/chrome_frame_resources.h" 26 #include "grit/chrome_frame_resources.h"
27 #include "chrome_frame/bho.h" 27 #include "chrome_frame/bho.h"
28 #include "chrome_frame/chrome_active_document.h" 28 #include "chrome_frame/chrome_active_document.h"
29 #include "chrome_frame/chrome_frame_activex.h" 29 #include "chrome_frame/chrome_frame_activex.h"
30 #include "chrome_frame/chrome_frame_automation.h" 30 #include "chrome_frame/chrome_frame_automation.h"
31 #include "chrome_frame/exception_barrier.h" 31 #include "chrome_frame/exception_barrier.h"
32 #include "chrome_frame/chrome_frame_reporting.h" 32 #include "chrome_frame/chrome_frame_reporting.h"
33 #include "chrome_frame/chrome_launcher.h" 33 #include "chrome_frame/chrome_launcher_utils.h"
34 #include "chrome_frame/chrome_protocol.h" 34 #include "chrome_frame/chrome_protocol.h"
35 #include "chrome_frame/module_utils.h" 35 #include "chrome_frame/module_utils.h"
36 #include "chrome_frame/resource.h" 36 #include "chrome_frame/resource.h"
37 #include "chrome_frame/utils.h" 37 #include "chrome_frame/utils.h"
38 #include "googleurl/src/url_util.h" 38 #include "googleurl/src/url_util.h"
39 39
40 namespace { 40 namespace {
41 // This function has the side effect of initializing an unprotected 41 // This function has the side effect of initializing an unprotected
42 // vector pointer inside GoogleUrl. If this is called during DLL loading, 42 // vector pointer inside GoogleUrl. If this is called during DLL loading,
43 // it has the effect of avoiding an initializiation race on that pointer. 43 // it has the effect of avoiding an initializiation race on that pointer.
(...skipping 551 matching lines...) Expand 10 before | Expand all | Expand 10 after
595 sd.GetDacl(&new_dacl); 595 sd.GetDacl(&new_dacl);
596 new_dacl.AddAllowedAce(token_.GetUser(), GENERIC_WRITE | GENERIC_READ); 596 new_dacl.AddAllowedAce(token_.GetUser(), GENERIC_WRITE | GENERIC_READ);
597 if (AtlSetDacl(object_name.c_str(), SE_REGISTRY_KEY, new_dacl)) { 597 if (AtlSetDacl(object_name.c_str(), SE_REGISTRY_KEY, new_dacl)) {
598 result = SetOrDeleteMimeHandlerKey(enable); 598 result = SetOrDeleteMimeHandlerKey(enable);
599 } 599 }
600 } 600 }
601 601
602 backup.RestoreSecurity(object_name.c_str()); 602 backup.RestoreSecurity(object_name.c_str());
603 return result; 603 return result;
604 } 604 }
OLDNEW
« no previous file with comments | « chrome_frame/chrome_launcher_utils.cc ('k') | chrome_frame/chrome_tab.def » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698