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

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

Issue 12223091: Split testing_pref_service.h/.cc into two parts, generic vs. Chrome-specific. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comment. Created 7 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 | Annotate | Revision Log
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 #include "chrome/test/base/testing_profile.h" 5 #include "chrome/test/base/testing_profile.h"
6 6
7 #include "build/build_config.h" 7 #include "build/build_config.h"
8 8
9 #include "base/base_paths.h" 9 #include "base/base_paths.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 #include "chrome/browser/search_engines/template_url_fetcher_factory.h" 46 #include "chrome/browser/search_engines/template_url_fetcher_factory.h"
47 #include "chrome/browser/speech/chrome_speech_recognition_preferences.h" 47 #include "chrome/browser/speech/chrome_speech_recognition_preferences.h"
48 #include "chrome/browser/webdata/web_data_service.h" 48 #include "chrome/browser/webdata/web_data_service.h"
49 #include "chrome/browser/webdata/web_data_service_factory.h" 49 #include "chrome/browser/webdata/web_data_service_factory.h"
50 #include "chrome/common/chrome_constants.h" 50 #include "chrome/common/chrome_constants.h"
51 #include "chrome/common/chrome_notification_types.h" 51 #include "chrome/common/chrome_notification_types.h"
52 #include "chrome/common/chrome_switches.h" 52 #include "chrome/common/chrome_switches.h"
53 #include "chrome/common/url_constants.h" 53 #include "chrome/common/url_constants.h"
54 #include "chrome/test/base/bookmark_load_observer.h" 54 #include "chrome/test/base/bookmark_load_observer.h"
55 #include "chrome/test/base/history_index_restore_observer.h" 55 #include "chrome/test/base/history_index_restore_observer.h"
56 #include "chrome/test/base/testing_pref_service.h" 56 #include "chrome/test/base/testing_pref_service_syncable.h"
57 #include "chrome/test/base/ui_test_utils.h" 57 #include "chrome/test/base/ui_test_utils.h"
58 #include "content/public/browser/browser_thread.h" 58 #include "content/public/browser/browser_thread.h"
59 #include "content/public/browser/notification_service.h" 59 #include "content/public/browser/notification_service.h"
60 #include "content/public/browser/render_process_host.h" 60 #include "content/public/browser/render_process_host.h"
61 #include "content/public/browser/storage_partition.h" 61 #include "content/public/browser/storage_partition.h"
62 #include "content/public/test/mock_resource_context.h" 62 #include "content/public/test/mock_resource_context.h"
63 #include "content/public/test/test_utils.h" 63 #include "content/public/test/test_utils.h"
64 #include "extensions/common/constants.h" 64 #include "extensions/common/constants.h"
65 #include "net/cookies/cookie_monster.h" 65 #include "net/cookies/cookie_monster.h"
66 #include "net/url_request/url_request_context.h" 66 #include "net/url_request/url_request_context.h"
(...skipping 754 matching lines...) Expand 10 before | Expand all | Expand 10 after
821 scoped_ptr<TestingProfile> TestingProfile::Builder::Build() { 821 scoped_ptr<TestingProfile> TestingProfile::Builder::Build() {
822 DCHECK(!build_called_); 822 DCHECK(!build_called_);
823 build_called_ = true; 823 build_called_ = true;
824 return scoped_ptr<TestingProfile>(new TestingProfile( 824 return scoped_ptr<TestingProfile>(new TestingProfile(
825 path_, 825 path_,
826 delegate_, 826 delegate_,
827 extension_policy_, 827 extension_policy_,
828 pref_service_.Pass(), 828 pref_service_.Pass(),
829 off_the_record_)); 829 off_the_record_));
830 } 830 }
OLDNEW
« no previous file with comments | « chrome/test/base/testing_pref_service_syncable.cc ('k') | chrome/test/base/testing_profile_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698