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

Side by Side Diff: content/test/test_browser_context.h

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 | « content/shell/shell_browser_context.cc ('k') | content/test/test_browser_context.cc » ('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) 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 CONTENT_TEST_TEST_BROWSER_CONTEXT_H_ 5 #ifndef CONTENT_TEST_TEST_BROWSER_CONTEXT_H_
6 #define CONTENT_TEST_TEST_BROWSER_CONTEXT_H_ 6 #define CONTENT_TEST_TEST_BROWSER_CONTEXT_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/file_path.h" 10 #include "base/file_path.h"
(...skipping 11 matching lines...) Expand all
22 22
23 virtual FilePath GetPath() OVERRIDE; 23 virtual FilePath GetPath() OVERRIDE;
24 virtual bool IsOffTheRecord() OVERRIDE; 24 virtual bool IsOffTheRecord() OVERRIDE;
25 virtual SSLHostState* GetSSLHostState() OVERRIDE; 25 virtual SSLHostState* GetSSLHostState() OVERRIDE;
26 virtual content::DownloadManager* GetDownloadManager() OVERRIDE; 26 virtual content::DownloadManager* GetDownloadManager() OVERRIDE;
27 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; 27 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE;
28 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( 28 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess(
29 int renderer_child_id) OVERRIDE; 29 int renderer_child_id) OVERRIDE;
30 virtual net::URLRequestContextGetter* GetRequestContextForMedia() OVERRIDE; 30 virtual net::URLRequestContextGetter* GetRequestContextForMedia() OVERRIDE;
31 virtual const content::ResourceContext& GetResourceContext() OVERRIDE; 31 virtual const content::ResourceContext& GetResourceContext() OVERRIDE;
32 virtual HostZoomMap* GetHostZoomMap() OVERRIDE; 32 virtual content::HostZoomMap* GetHostZoomMap() OVERRIDE;
33 virtual content::GeolocationPermissionContext* 33 virtual content::GeolocationPermissionContext*
34 GetGeolocationPermissionContext() OVERRIDE; 34 GetGeolocationPermissionContext() OVERRIDE;
35 virtual SpeechInputPreferences* GetSpeechInputPreferences() OVERRIDE; 35 virtual SpeechInputPreferences* GetSpeechInputPreferences() OVERRIDE;
36 virtual bool DidLastSessionExitCleanly() OVERRIDE; 36 virtual bool DidLastSessionExitCleanly() OVERRIDE;
37 virtual quota::QuotaManager* GetQuotaManager() OVERRIDE; 37 virtual quota::QuotaManager* GetQuotaManager() OVERRIDE;
38 virtual WebKitContext* GetWebKitContext() OVERRIDE; 38 virtual WebKitContext* GetWebKitContext() OVERRIDE;
39 virtual webkit_database::DatabaseTracker* GetDatabaseTracker() OVERRIDE; 39 virtual webkit_database::DatabaseTracker* GetDatabaseTracker() OVERRIDE;
40 virtual ChromeBlobStorageContext* GetBlobStorageContext() OVERRIDE; 40 virtual ChromeBlobStorageContext* GetBlobStorageContext() OVERRIDE;
41 virtual ChromeAppCacheService* GetAppCacheService() OVERRIDE; 41 virtual ChromeAppCacheService* GetAppCacheService() OVERRIDE;
42 virtual fileapi::FileSystemContext* GetFileSystemContext() OVERRIDE; 42 virtual fileapi::FileSystemContext* GetFileSystemContext() OVERRIDE;
43 43
44 private: 44 private:
45 FRIEND_TEST_ALL_PREFIXES(DOMStorageTest, SessionOnly); 45 FRIEND_TEST_ALL_PREFIXES(DOMStorageTest, SessionOnly);
46 FRIEND_TEST_ALL_PREFIXES(DOMStorageTest, SaveSessionState); 46 FRIEND_TEST_ALL_PREFIXES(DOMStorageTest, SaveSessionState);
47 47
48 // WebKitContext, lazily initialized by GetWebKitContext(). 48 // WebKitContext, lazily initialized by GetWebKitContext().
49 scoped_refptr<WebKitContext> webkit_context_; 49 scoped_refptr<WebKitContext> webkit_context_;
50 50
51 ScopedTempDir browser_context_dir_; 51 ScopedTempDir browser_context_dir_;
52 52
53 DISALLOW_COPY_AND_ASSIGN(TestBrowserContext); 53 DISALLOW_COPY_AND_ASSIGN(TestBrowserContext);
54 }; 54 };
55 55
56 #endif // CONTENT_TEST_TEST_BROWSER_CONTEXT_H_ 56 #endif // CONTENT_TEST_TEST_BROWSER_CONTEXT_H_
OLDNEW
« no previous file with comments | « content/shell/shell_browser_context.cc ('k') | content/test/test_browser_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698