summaryrefslogtreecommitdiffstats
path: root/chrome/browser/profiles/profile_info_cache_unittest.h
diff options
context:
space:
mode:
authorsail@chromium.org <sail@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-30 01:41:52 +0000
committersail@chromium.org <sail@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-30 01:41:52 +0000
commitd4f5d1162ef36593a07b80b4e833d953671aa83a (patch)
treebecb11ac4263cf6d7e253a448860e43f04b51161 /chrome/browser/profiles/profile_info_cache_unittest.h
parent23b7fab25006298586150f5a355c93032ee83652 (diff)
downloadchromium_src-d4f5d1162ef36593a07b80b4e833d953671aa83a.zip
chromium_src-d4f5d1162ef36593a07b80b4e833d953671aa83a.tar.gz
chromium_src-d4f5d1162ef36593a07b80b4e833d953671aa83a.tar.bz2
Add service to update GAIA info
BUG=91241 TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=112006 Review URL: http://codereview.chromium.org/8587024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112098 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/profiles/profile_info_cache_unittest.h')
-rw-r--r--chrome/browser/profiles/profile_info_cache_unittest.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/chrome/browser/profiles/profile_info_cache_unittest.h b/chrome/browser/profiles/profile_info_cache_unittest.h
new file mode 100644
index 0000000..a1d4485
--- /dev/null
+++ b/chrome/browser/profiles/profile_info_cache_unittest.h
@@ -0,0 +1,36 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_PROFILES_PROFILE_INFO_CACHE_UNITTEST_H_
+#define CHROME_BROWSER_PROFILES_PROFILE_INFO_CACHE_UNITTEST_H_
+#pragma once
+
+#include "chrome/test/base/testing_profile_manager.h"
+#include "content/test/test_browser_thread.h"
+#include "testing/gtest/include/gtest/gtest.h"
+
+class FilePath;
+class ProfileInfoCache;
+
+class ProfileInfoCacheTest : public testing::Test {
+ protected:
+ ProfileInfoCacheTest();
+ virtual ~ProfileInfoCacheTest();
+
+ virtual void SetUp() OVERRIDE;
+
+ ProfileInfoCache* GetCache();
+ FilePath GetProfilePath(const std::string& base_name);
+ void ResetCache();
+
+ protected:
+ TestingProfileManager testing_profile_manager_;
+
+ private:
+ MessageLoopForUI ui_loop_;
+ content::TestBrowserThread ui_thread_;
+ content::TestBrowserThread file_thread_;
+};
+
+#endif // CHROME_BROWSER_PROFILES_PROFILE_INFO_CACHE_UNITTEST_H_