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

Unified Diff: chrome/browser/ui/app_list/test/fake_profile.cc

Issue 24707002: Add unit tests for AppListServiceImpl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: un-const an iterator Created 7 years, 3 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: chrome/browser/ui/app_list/test/fake_profile.cc
diff --git a/chrome/browser/ui/app_list/test/fake_profile.cc b/chrome/browser/ui/app_list/test/fake_profile.cc
index 836fed956b932037a8b28031195268cb372cd87f..c6485718f869ec3dcef658e89debb095271c1108 100644
--- a/chrome/browser/ui/app_list/test/fake_profile.cc
+++ b/chrome/browser/ui/app_list/test/fake_profile.cc
@@ -8,12 +8,17 @@ FakeProfile::FakeProfile(const std::string& name)
: name_(name) {
}
+FakeProfile::FakeProfile(const std::string& name, const base::FilePath& path)
+ : name_(name),
+ path_(path) {
+}
+
std::string FakeProfile::GetProfileName() {
return name_;
}
base::FilePath FakeProfile::GetPath() const {
- return base::FilePath();
+ return path_;
}
bool FakeProfile::IsOffTheRecord() const {
« no previous file with comments | « chrome/browser/ui/app_list/test/fake_profile.h ('k') | chrome/browser/ui/app_list/test/fake_profile_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698