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

Unified Diff: chrome/browser/profiles/profile_info_cache_unittest.h

Issue 12163003: Add FilePath to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/profiles/profile_info_cache_observer.h ('k') | chrome/browser/profiles/profile_metrics.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: 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
index 640f4da60ef7f750578f4c61ce6b4763a7324cf9..ec2ec70be40f8e8f183e982abf3db1f935e9bfbb 100644
--- a/chrome/browser/profiles/profile_info_cache_unittest.h
+++ b/chrome/browser/profiles/profile_info_cache_unittest.h
@@ -13,9 +13,12 @@
#include "content/public/test/test_browser_thread.h"
#include "testing/gtest/include/gtest/gtest.h"
-class FilePath;
class ProfileInfoCache;
+namespace base {
+class FilePath;
+}
+
// Class used to test that ProfileInfoCache does not try to access any
// unexpected profile names.
class ProfileNameVerifierObserver : public ProfileInfoCacheObserver {
@@ -25,16 +28,16 @@ class ProfileNameVerifierObserver : public ProfileInfoCacheObserver {
virtual ~ProfileNameVerifierObserver();
// ProfileInfoCacheObserver overrides:
- virtual void OnProfileAdded(const FilePath& profile_path) OVERRIDE;
+ virtual void OnProfileAdded(const base::FilePath& profile_path) OVERRIDE;
virtual void OnProfileWillBeRemoved(
- const FilePath& profile_path) OVERRIDE;
+ const base::FilePath& profile_path) OVERRIDE;
virtual void OnProfileWasRemoved(
- const FilePath& profile_path,
+ const base::FilePath& profile_path,
const string16& profile_name) OVERRIDE;
virtual void OnProfileNameChanged(
- const FilePath& profile_path,
+ const base::FilePath& profile_path,
const string16& old_profile_name) OVERRIDE;
- virtual void OnProfileAvatarChanged(const FilePath& profile_path) OVERRIDE;
+ virtual void OnProfileAvatarChanged(const base::FilePath& profile_path) OVERRIDE;
private:
ProfileInfoCache* GetCache();
@@ -52,7 +55,7 @@ class ProfileInfoCacheTest : public testing::Test {
virtual void TearDown() OVERRIDE;
ProfileInfoCache* GetCache();
- FilePath GetProfilePath(const std::string& base_name);
+ base::FilePath GetProfilePath(const std::string& base_name);
void ResetCache();
protected:
« no previous file with comments | « chrome/browser/profiles/profile_info_cache_observer.h ('k') | chrome/browser/profiles/profile_metrics.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698