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

Side by Side Diff: chrome/test/base/testing_profile.h

Issue 1047663002: Remove unused method (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@canvas
Patch Set: Created 5 years, 8 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 unified diff | Download patch
« no previous file with comments | « no previous file | chrome/test/base/testing_profile.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_TEST_BASE_TESTING_PROFILE_H_ 5 #ifndef CHROME_TEST_BASE_TESTING_PROFILE_H_
6 #define CHROME_TEST_BASE_TESTING_PROFILE_H_ 6 #define CHROME_TEST_BASE_TESTING_PROFILE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 #endif 159 #endif
160 scoped_ptr<PrefServiceSyncable> prefs, 160 scoped_ptr<PrefServiceSyncable> prefs,
161 TestingProfile* parent, 161 TestingProfile* parent,
162 bool guest_session, 162 bool guest_session,
163 const std::string& supervised_user_id, 163 const std::string& supervised_user_id,
164 scoped_ptr<policy::PolicyService> policy_service, 164 scoped_ptr<policy::PolicyService> policy_service,
165 const TestingFactories& factories); 165 const TestingFactories& factories);
166 166
167 ~TestingProfile() override; 167 ~TestingProfile() override;
168 168
169 // Creates the fallback icon service.
170 void CreateFallbackIconService();
171
172 // Creates the favicon service. Consequent calls would recreate the service. 169 // Creates the favicon service. Consequent calls would recreate the service.
173 void CreateFaviconService(); 170 void CreateFaviconService();
174 171
175 // Creates the history service. If |delete_file| is true, the history file is 172 // Creates the history service. If |delete_file| is true, the history file is
176 // deleted first, then the HistoryService is created. As TestingProfile 173 // deleted first, then the HistoryService is created. As TestingProfile
177 // deletes the directory containing the files used by HistoryService, this 174 // deletes the directory containing the files used by HistoryService, this
178 // only matters if you're recreating the HistoryService. If |no_db| is true, 175 // only matters if you're recreating the HistoryService. If |no_db| is true,
179 // the history backend will fail to initialize its database; this is useful 176 // the history backend will fail to initialize its database; this is useful
180 // for testing error conditions. Returns true on success. 177 // for testing error conditions. Returns true on success.
181 bool CreateHistoryService(bool delete_file, bool no_db) WARN_UNUSED_RESULT; 178 bool CreateHistoryService(bool delete_file, bool no_db) WARN_UNUSED_RESULT;
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
412 409
413 // Weak pointer to a delegate for indicating that a profile was created. 410 // Weak pointer to a delegate for indicating that a profile was created.
414 Delegate* delegate_; 411 Delegate* delegate_;
415 412
416 std::string profile_name_; 413 std::string profile_name_;
417 414
418 scoped_ptr<policy::PolicyService> policy_service_; 415 scoped_ptr<policy::PolicyService> policy_service_;
419 }; 416 };
420 417
421 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ 418 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/test/base/testing_profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698