From d4f5d1162ef36593a07b80b4e833d953671aa83a Mon Sep 17 00:00:00 2001 From: "sail@chromium.org" Date: Wed, 30 Nov 2011 01:41:52 +0000 Subject: 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 --- .../browser/profiles/profile_info_cache_unittest.h | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 chrome/browser/profiles/profile_info_cache_unittest.h (limited to 'chrome/browser/profiles/profile_info_cache_unittest.h') 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_ -- cgit v1.1