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

Unified Diff: components/update_client/test_installer.h

Issue 1102103002: Move the unit tests files side-by-side with the corresponding .cc files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: components/update_client/test_installer.h
diff --git a/components/update_client/test/test_installer.h b/components/update_client/test_installer.h
similarity index 88%
rename from components/update_client/test/test_installer.h
rename to components/update_client/test_installer.h
index e15ae0a0b4a27160c34e3a2cc02b3b5030749b79..44a6f280346ff9b1465bef080a56d6c95e45e287 100644
--- a/components/update_client/test/test_installer.h
+++ b/components/update_client/test_installer.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef COMPONENTS_UPDATE_CLIENT_TEST_TEST_INSTALLER_H_
-#define COMPONENTS_UPDATE_CLIENT_TEST_TEST_INSTALLER_H_
+#ifndef COMPONENTS_UPDATE_CLIENT_TEST_INSTALLER_H_
+#define COMPONENTS_UPDATE_CLIENT_TEST_INSTALLER_H_
#include <string>
@@ -34,13 +34,9 @@ class TestInstaller : public CrxInstaller {
bool Uninstall() override;
- int error() const {
- return error_;
- }
+ int error() const { return error_; }
- int install_count() const {
- return install_count_;
- }
+ int install_count() const { return install_count_; }
protected:
~TestInstaller() override;
@@ -85,4 +81,4 @@ class VersionedTestInstaller : public TestInstaller {
} // namespace update_client
-#endif // COMPONENTS_UPDATE_CLIENT_TEST_TEST_INSTALLER_H_
+#endif // COMPONENTS_UPDATE_CLIENT_TEST_INSTALLER_H_

Powered by Google App Engine
This is Rietveld 408576698