| Index: chrome/browser/google/google_update_settings_unittest.cc
|
| diff --git a/chrome/browser/google/google_update_settings_unittest.cc b/chrome/browser/google/google_update_settings_unittest.cc
|
| index 0896a1647c226b90b7c35ac82371941609cf3a65..245e029e6a50c00d3b478fc5d28f45b8d7c8e703 100644
|
| --- a/chrome/browser/google/google_update_settings_unittest.cc
|
| +++ b/chrome/browser/google/google_update_settings_unittest.cc
|
| @@ -2,12 +2,30 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| +#include "base/basictypes.h"
|
| +#include "base/compiler_specific.h"
|
| +#include "base/path_service.h"
|
| +#include "base/scoped_temp_dir.h"
|
| #include "chrome/browser/google/google_util.h"
|
| +#include "chrome/common/chrome_paths.h"
|
| #include "chrome/installer/util/google_update_settings.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| #include "testing/platform_test.h"
|
|
|
| class GoogleUpdateTest : public PlatformTest {
|
| + protected:
|
| + GoogleUpdateTest() {}
|
| + virtual ~GoogleUpdateTest() {}
|
| +
|
| + virtual void SetUp() OVERRIDE {
|
| + ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());
|
| + PathService::Override(chrome::DIR_USER_DATA, temp_dir_.path());
|
| + }
|
| +
|
| + private:
|
| + ScopedTempDir temp_dir_;
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(GoogleUpdateTest);
|
| };
|
|
|
| TEST_F(GoogleUpdateTest, StatsConsent) {
|
|
|