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

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

Issue 7189029: Implement an initial extension settings API. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Make clang happy Created 9 years, 4 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #pragma once 7 #pragma once
8 8
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 14 matching lines...) Expand all
25 class CookieMonster; 25 class CookieMonster;
26 } 26 }
27 27
28 namespace quota { 28 namespace quota {
29 class SpecialStoragePolicy; 29 class SpecialStoragePolicy;
30 } 30 }
31 31
32 class AutocompleteClassifier; 32 class AutocompleteClassifier;
33 class BookmarkModel; 33 class BookmarkModel;
34 class CommandLine; 34 class CommandLine;
35 class ExtensionSettings;
35 class ExtensionPrefs; 36 class ExtensionPrefs;
36 class ExtensionPrefStore; 37 class ExtensionPrefStore;
37 class ExtensionPrefValueMap; 38 class ExtensionPrefValueMap;
38 class ExtensionSpecialStoragePolicy; 39 class ExtensionSpecialStoragePolicy;
39 class FaviconService; 40 class FaviconService;
40 class FindBarState; 41 class FindBarState;
41 class GeolocationContentSettingsMap; 42 class GeolocationContentSettingsMap;
42 class GeolocationPermissionContext; 43 class GeolocationPermissionContext;
43 class HistoryService; 44 class HistoryService;
44 class HostContentSettingsMap; 45 class HostContentSettingsMap;
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 // Find bar state. Created lazily by GetFindBarState(). 360 // Find bar state. Created lazily by GetFindBarState().
360 scoped_ptr<FindBarState> find_bar_state_; 361 scoped_ptr<FindBarState> find_bar_state_;
361 362
362 FilePath last_selected_directory_; 363 FilePath last_selected_directory_;
363 scoped_refptr<history::TopSites> top_sites_; // For history and thumbnails. 364 scoped_refptr<history::TopSites> top_sites_; // For history and thumbnails.
364 365
365 // The Extension Preferences. Only created if CreateExtensionService is 366 // The Extension Preferences. Only created if CreateExtensionService is
366 // invoked. 367 // invoked.
367 scoped_ptr<ExtensionPrefs> extension_prefs_; 368 scoped_ptr<ExtensionPrefs> extension_prefs_;
368 369
370 // The Extension settings. Only created if CreateExtensionService is
371 // invoked.
372 scoped_refptr<ExtensionSettings> extension_settings_;
373
369 scoped_ptr<ExtensionService> extension_service_; 374 scoped_ptr<ExtensionService> extension_service_;
370 375
371 scoped_ptr<ExtensionPrefValueMap> extension_pref_value_map_; 376 scoped_ptr<ExtensionPrefValueMap> extension_pref_value_map_;
372 377
373 scoped_refptr<ExtensionSpecialStoragePolicy> 378 scoped_refptr<ExtensionSpecialStoragePolicy>
374 extension_special_storage_policy_; 379 extension_special_storage_policy_;
375 380
376
377 // The proxy prefs tracker. 381 // The proxy prefs tracker.
378 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; 382 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_;
379 383
380 // We use a temporary directory to store testing profile data. 384 // We use a temporary directory to store testing profile data.
381 ScopedTempDir temp_dir_; 385 ScopedTempDir temp_dir_;
382 386
383 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_; 387 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_;
384 388
385 scoped_ptr<prerender::PrerenderManager> prerender_manager_; 389 scoped_ptr<prerender::PrerenderManager> prerender_manager_;
386 390
387 // We keep a weak pointer to the dependency manager we want to notify on our 391 // We keep a weak pointer to the dependency manager we want to notify on our
388 // death. Defaults to the Singleton implementation but overridable for 392 // death. Defaults to the Singleton implementation but overridable for
389 // testing. 393 // testing.
390 ProfileDependencyManager* profile_dependency_manager_; 394 ProfileDependencyManager* profile_dependency_manager_;
391 395
392 scoped_refptr<ChromeAppCacheService> appcache_service_; 396 scoped_refptr<ChromeAppCacheService> appcache_service_;
393 397
394 // The QuotaManager, only available if set explicitly via SetQuotaManager. 398 // The QuotaManager, only available if set explicitly via SetQuotaManager.
395 scoped_refptr<quota::QuotaManager> quota_manager_; 399 scoped_refptr<quota::QuotaManager> quota_manager_;
396 }; 400 };
397 401
398 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ 402 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_
OLDNEW
« no previous file with comments | « chrome/renderer/resources/renderer_extension_bindings.js ('k') | chrome/test/base/testing_profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698