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

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: Renamed Zoom Update commands Created 5 years, 10 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
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 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 ExtensionSpecialStoragePolicy* extension_special_storage_policy); 269 ExtensionSpecialStoragePolicy* extension_special_storage_policy);
270 #endif 270 #endif
271 ExtensionSpecialStoragePolicy* GetExtensionSpecialStoragePolicy() override; 271 ExtensionSpecialStoragePolicy* GetExtensionSpecialStoragePolicy() override;
272 // TODO(ajwong): Remove this API in favor of directly retrieving the 272 // TODO(ajwong): Remove this API in favor of directly retrieving the
273 // CookieStore from the StoragePartition after ExtensionURLRequestContext 273 // CookieStore from the StoragePartition after ExtensionURLRequestContext
274 // has been removed. 274 // has been removed.
275 net::CookieMonster* GetCookieMonster(); 275 net::CookieMonster* GetCookieMonster();
276 276
277 PrefService* GetPrefs() override; 277 PrefService* GetPrefs() override;
278 const PrefService* GetPrefs() const override; 278 const PrefService* GetPrefs() const override;
279 chrome::ChromeZoomLevelPrefs* GetZoomLevelPrefs() override;
279 280
280 net::URLRequestContextGetter* GetMediaRequestContext() override; 281 net::URLRequestContextGetter* GetMediaRequestContext() override;
281 net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( 282 net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess(
282 int renderer_child_id) override; 283 int renderer_child_id) override;
283 net::URLRequestContextGetter* GetRequestContextForExtensions() override; 284 net::URLRequestContextGetter* GetRequestContextForExtensions() override;
284 net::URLRequestContextGetter* GetMediaRequestContextForStoragePartition( 285 net::URLRequestContextGetter* GetMediaRequestContextForStoragePartition(
285 const base::FilePath& partition_path, 286 const base::FilePath& partition_path,
286 bool in_memory) override; 287 bool in_memory) override;
287 net::URLRequestContextGetter* CreateRequestContextForStoragePartition( 288 net::URLRequestContextGetter* CreateRequestContextForStoragePartition(
288 const base::FilePath& partition_path, 289 const base::FilePath& partition_path,
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
405 406
406 // Weak pointer to a delegate for indicating that a profile was created. 407 // Weak pointer to a delegate for indicating that a profile was created.
407 Delegate* delegate_; 408 Delegate* delegate_;
408 409
409 std::string profile_name_; 410 std::string profile_name_;
410 411
411 scoped_ptr<policy::PolicyService> policy_service_; 412 scoped_ptr<policy::PolicyService> policy_service_;
412 }; 413 };
413 414
414 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ 415 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698