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

Side by Side Diff: chrome/installer/util/product_state_unittest.cc

Issue 109673004: Revert "Update all users of base::Version to explicitly specify the namespace, and clean up the hea… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
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 <windows.h> 5 #include <windows.h>
6 6
7 #include "base/strings/utf_string_conversions.h" 7 #include "base/strings/utf_string_conversions.h"
8 #include "base/test/test_reg_util_win.h" 8 #include "base/test/test_reg_util_win.h"
9 #include "base/version.h"
9 #include "base/win/registry.h" 10 #include "base/win/registry.h"
10 #include "chrome/installer/util/browser_distribution.h" 11 #include "chrome/installer/util/browser_distribution.h"
11 #include "chrome/installer/util/google_update_constants.h" 12 #include "chrome/installer/util/google_update_constants.h"
12 #include "chrome/installer/util/installation_state.h" 13 #include "chrome/installer/util/installation_state.h"
13 #include "chrome/installer/util/product_unittest.h" 14 #include "chrome/installer/util/product_unittest.h"
14 #include "chrome/installer/util/util_constants.h" 15 #include "chrome/installer/util/util_constants.h"
15 #include "testing/gtest/include/gtest/gtest.h" 16 #include "testing/gtest/include/gtest/gtest.h"
16 17
17 using base::win::RegKey; 18 using base::win::RegKey;
18 using installer::ProductState; 19 using installer::ProductState;
(...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after
404 405
405 // Uninstall command with --multi-install is multi install. 406 // Uninstall command with --multi-install is multi install.
406 { 407 {
407 ProductState state; 408 ProductState state;
408 ApplyUninstallCommand(L"setup.exe", 409 ApplyUninstallCommand(L"setup.exe",
409 L"--uninstall --chrome --multi-install"); 410 L"--uninstall --chrome --multi-install");
410 EXPECT_TRUE(state.Initialize(system_install_, dist_)); 411 EXPECT_TRUE(state.Initialize(system_install_, dist_));
411 EXPECT_TRUE(state.is_multi_install()); 412 EXPECT_TRUE(state.is_multi_install());
412 } 413 }
413 } 414 }
OLDNEW
« no previous file with comments | « chrome/installer/util/installer_state_unittest.cc ('k') | chrome/installer/util/product_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698