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

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

Issue 1220133003: Fixed all unused-variable Clang warnings on Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@iaccessible2-fix-gn
Patch Set: Rebase. Created 5 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
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/installer/setup/install_worker.h" 5 #include "chrome/installer/setup/install_worker.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/win/registry.h" 9 #include "base/win/registry.h"
10 #include "base/version.h" 10 #include "base/version.h"
(...skipping 484 matching lines...) Expand 10 before | Expand all | Expand 10 after
495 archive_path_, 495 archive_path_,
496 src_path_, 496 src_path_,
497 temp_dir_, 497 temp_dir_,
498 current_version_.get(), 498 current_version_.get(),
499 *new_version_.get(), 499 *new_version_.get(),
500 &work_item_list); 500 &work_item_list);
501 } 501 }
502 502
503 namespace { 503 namespace {
504 504
505 const wchar_t elevation_key[] =
506 L"SOFTWARE\\Microsoft\\Internet Explorer\\Low Rights\\ElevationPolicy\\"
507 L"{E0A900DF-9611-4446-86BD-4B1D47E7DB2A}";
508 const wchar_t old_elevation_key[] = 505 const wchar_t old_elevation_key[] =
509 L"SOFTWARE\\Microsoft\\Internet Explorer\\Low Rights\\ElevationPolicy\\" 506 L"SOFTWARE\\Microsoft\\Internet Explorer\\Low Rights\\ElevationPolicy\\"
510 L"{6C288DD7-76FB-4721-B628-56FAC252E199}"; 507 L"{6C288DD7-76FB-4721-B628-56FAC252E199}";
511 508
512 } // namespace 509 } // namespace
513 510
514 // A test class for worker functions that manipulate the old IE low rights 511 // A test class for worker functions that manipulate the old IE low rights
515 // policies. 512 // policies.
516 // Parameters: 513 // Parameters:
517 // bool : system_level_ 514 // bool : system_level_
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
818 prod_type_list[i_type_check]); 815 prod_type_list[i_type_check]);
819 bool prod_expect = (mach_after & (1 << i_type_check)) != 0; 816 bool prod_expect = (mach_after & (1 << i_type_check)) != 0;
820 EXPECT_EQ(prod_expect, prod_res); 817 EXPECT_EQ(prod_expect, prod_res);
821 } 818 }
822 } 819 }
823 } 820 }
824 } 821 }
825 } 822 }
826 823
827 #endif // defined(GOOGLE_CHROME_BUILD) 824 #endif // defined(GOOGLE_CHROME_BUILD)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698