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

Side by Side Diff: chrome/installer/setup/setup_util.cc

Issue 1961963003: Move //courgette/third_party to subfolder. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixes according to comments Created 4 years, 7 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
« no previous file with comments | « chrome/installer/setup/setup_util.h ('k') | chrome/utility/chrome_content_utility_client.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 // This file declares util functions for setup project. 5 // This file declares util functions for setup project.
6 6
7 #include "chrome/installer/setup/setup_util.h" 7 #include "chrome/installer/setup/setup_util.h"
8 8
9 #include <windows.h> 9 #include <windows.h>
10 #include <stddef.h> 10 #include <stddef.h>
(...skipping 18 matching lines...) Expand all
29 #include "base/win/windows_version.h" 29 #include "base/win/windows_version.h"
30 #include "chrome/installer/setup/setup_constants.h" 30 #include "chrome/installer/setup/setup_constants.h"
31 #include "chrome/installer/util/app_registration_data.h" 31 #include "chrome/installer/util/app_registration_data.h"
32 #include "chrome/installer/util/google_update_constants.h" 32 #include "chrome/installer/util/google_update_constants.h"
33 #include "chrome/installer/util/installation_state.h" 33 #include "chrome/installer/util/installation_state.h"
34 #include "chrome/installer/util/installer_state.h" 34 #include "chrome/installer/util/installer_state.h"
35 #include "chrome/installer/util/master_preferences.h" 35 #include "chrome/installer/util/master_preferences.h"
36 #include "chrome/installer/util/master_preferences_constants.h" 36 #include "chrome/installer/util/master_preferences_constants.h"
37 #include "chrome/installer/util/util_constants.h" 37 #include "chrome/installer/util/util_constants.h"
38 #include "courgette/courgette.h" 38 #include "courgette/courgette.h"
39 #include "courgette/third_party/bsdiff.h" 39 #include "courgette/third_party/bsdiff/bsdiff.h"
40 #include "third_party/bspatch/mbspatch.h" 40 #include "third_party/bspatch/mbspatch.h"
41 41
42 namespace installer { 42 namespace installer {
43 43
44 namespace { 44 namespace {
45 45
46 // Returns true if product |type| cam be meaningfully installed without the 46 // Returns true if product |type| cam be meaningfully installed without the
47 // --multi-install flag. 47 // --multi-install flag.
48 bool SupportsSingleInstall(BrowserDistribution::Type type) { 48 bool SupportsSingleInstall(BrowserDistribution::Type type) {
49 return (type == BrowserDistribution::CHROME_BROWSER || 49 return (type == BrowserDistribution::CHROME_BROWSER ||
(...skipping 534 matching lines...) Expand 10 before | Expand all | Expand 10 after
584 } 584 }
585 585
586 ScopedTokenPrivilege::~ScopedTokenPrivilege() { 586 ScopedTokenPrivilege::~ScopedTokenPrivilege() {
587 if (is_enabled_ && previous_privileges_.PrivilegeCount != 0) { 587 if (is_enabled_ && previous_privileges_.PrivilegeCount != 0) {
588 ::AdjustTokenPrivileges(token_.Get(), FALSE, &previous_privileges_, 588 ::AdjustTokenPrivileges(token_.Get(), FALSE, &previous_privileges_,
589 sizeof(TOKEN_PRIVILEGES), NULL, NULL); 589 sizeof(TOKEN_PRIVILEGES), NULL, NULL);
590 } 590 }
591 } 591 }
592 592
593 } // namespace installer 593 } // namespace installer
OLDNEW
« no previous file with comments | « chrome/installer/setup/setup_util.h ('k') | chrome/utility/chrome_content_utility_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698