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

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

Issue 678343002: Default zoom was never read from chrome://settings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Replaced header in testing_profile Created 6 years, 1 month 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
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 9
10 #include "base/files/scoped_temp_dir.h" 10 #include "base/files/scoped_temp_dir.h"
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 void SetExtensionSpecialStoragePolicy( 271 void SetExtensionSpecialStoragePolicy(
272 ExtensionSpecialStoragePolicy* extension_special_storage_policy); 272 ExtensionSpecialStoragePolicy* extension_special_storage_policy);
273 #endif 273 #endif
274 ExtensionSpecialStoragePolicy* GetExtensionSpecialStoragePolicy() override; 274 ExtensionSpecialStoragePolicy* GetExtensionSpecialStoragePolicy() override;
275 // TODO(ajwong): Remove this API in favor of directly retrieving the 275 // TODO(ajwong): Remove this API in favor of directly retrieving the
276 // CookieStore from the StoragePartition after ExtensionURLRequestContext 276 // CookieStore from the StoragePartition after ExtensionURLRequestContext
277 // has been removed. 277 // has been removed.
278 net::CookieMonster* GetCookieMonster(); 278 net::CookieMonster* GetCookieMonster();
279 279
280 PrefService* GetPrefs() override; 280 PrefService* GetPrefs() override;
281 281 chrome::ChromeZoomLevelPrefs* GetZoomLevelPrefs() override;
282 history::TopSites* GetTopSites() override; 282 history::TopSites* GetTopSites() override;
283 history::TopSites* GetTopSitesWithoutCreating() override; 283 history::TopSites* GetTopSitesWithoutCreating() override;
284 284
285 net::URLRequestContextGetter* GetMediaRequestContext() override; 285 net::URLRequestContextGetter* GetMediaRequestContext() override;
286 net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( 286 net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess(
287 int renderer_child_id) override; 287 int renderer_child_id) override;
288 net::URLRequestContextGetter* GetRequestContextForExtensions() override; 288 net::URLRequestContextGetter* GetRequestContextForExtensions() override;
289 net::URLRequestContextGetter* GetMediaRequestContextForStoragePartition( 289 net::URLRequestContextGetter* GetMediaRequestContextForStoragePartition(
290 const base::FilePath& partition_path, 290 const base::FilePath& partition_path,
291 bool in_memory) override; 291 bool in_memory) override;
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
415 415
416 // Weak pointer to a delegate for indicating that a profile was created. 416 // Weak pointer to a delegate for indicating that a profile was created.
417 Delegate* delegate_; 417 Delegate* delegate_;
418 418
419 std::string profile_name_; 419 std::string profile_name_;
420 420
421 scoped_ptr<policy::PolicyService> policy_service_; 421 scoped_ptr<policy::PolicyService> policy_service_;
422 }; 422 };
423 423
424 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ 424 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698