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

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

Issue 9296041: Create Content API around HostZoomMap. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 8 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
« no previous file with comments | « chrome/test/base/testing_profile.h ('k') | content/browser/host_zoom_map.h » ('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 #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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 #include "webkit/quota/mock_quota_manager.h" 62 #include "webkit/quota/mock_quota_manager.h"
63 #include "webkit/quota/quota_manager.h" 63 #include "webkit/quota/quota_manager.h"
64 64
65 #if defined(OS_CHROMEOS) 65 #if defined(OS_CHROMEOS)
66 #include "chrome/browser/chromeos/proxy_config_service_impl.h" 66 #include "chrome/browser/chromeos/proxy_config_service_impl.h"
67 #endif // defined(OS_CHROMEOS) 67 #endif // defined(OS_CHROMEOS)
68 68
69 using base::Time; 69 using base::Time;
70 using content::BrowserThread; 70 using content::BrowserThread;
71 using content::DownloadManager; 71 using content::DownloadManager;
72 using content::HostZoomMap;
72 using testing::NiceMock; 73 using testing::NiceMock;
73 using testing::Return; 74 using testing::Return;
74 75
75 namespace { 76 namespace {
76 77
77 // Task used to make sure history has finished processing a request. Intended 78 // Task used to make sure history has finished processing a request. Intended
78 // for use with BlockUntilHistoryProcessesPendingRequests. 79 // for use with BlockUntilHistoryProcessesPendingRequests.
79 80
80 class QuittingHistoryDBTask : public HistoryDBTask { 81 class QuittingHistoryDBTask : public HistoryDBTask {
81 public: 82 public:
(...skipping 761 matching lines...) Expand 10 before | Expand all | Expand 10 after
843 quota::SpecialStoragePolicy* TestingProfile::GetSpecialStoragePolicy() { 844 quota::SpecialStoragePolicy* TestingProfile::GetSpecialStoragePolicy() {
844 return GetExtensionSpecialStoragePolicy(); 845 return GetExtensionSpecialStoragePolicy();
845 } 846 }
846 847
847 void TestingProfile::DestroyWebDataService() { 848 void TestingProfile::DestroyWebDataService() {
848 if (!web_data_service_.get()) 849 if (!web_data_service_.get())
849 return; 850 return;
850 851
851 web_data_service_->Shutdown(); 852 web_data_service_->Shutdown();
852 } 853 }
OLDNEW
« no previous file with comments | « chrome/test/base/testing_profile.h ('k') | content/browser/host_zoom_map.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698