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

Side by Side Diff: content/public/browser/browser_context.h

Issue 9271028: android build: progress on content and libjingle. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: simplify conditional to make work on non-Android Created 8 years, 11 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 CONTENT_PUBLIC_BROWSER_BROWSER_CONTEXT_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_BROWSER_CONTEXT_H_
6 #define CONTENT_PUBLIC_BROWSER_BROWSER_CONTEXT_H_ 6 #define CONTENT_PUBLIC_BROWSER_BROWSER_CONTEXT_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/hash_tables.h" 9 #include "base/hash_tables.h"
10 10
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 virtual quota::QuotaManager* GetQuotaManager() = 0; 99 virtual quota::QuotaManager* GetQuotaManager() = 0;
100 virtual WebKitContext* GetWebKitContext() = 0; 100 virtual WebKitContext* GetWebKitContext() = 0;
101 virtual webkit_database::DatabaseTracker* GetDatabaseTracker() = 0; 101 virtual webkit_database::DatabaseTracker* GetDatabaseTracker() = 0;
102 virtual ChromeBlobStorageContext* GetBlobStorageContext() = 0; 102 virtual ChromeBlobStorageContext* GetBlobStorageContext() = 0;
103 virtual ChromeAppCacheService* GetAppCacheService() = 0; 103 virtual ChromeAppCacheService* GetAppCacheService() = 0;
104 virtual fileapi::FileSystemContext* GetFileSystemContext() = 0; 104 virtual fileapi::FileSystemContext* GetFileSystemContext() = 0;
105 }; 105 };
106 106
107 } // namespace content 107 } // namespace content
108 108
109 #if defined(COMPILER_GCC) && !defined(OS_ANDROID) 109 #if defined(COMPILER_GCC)
110 namespace __gnu_cxx { 110 namespace BASE_HASH_NAMESPACE {
111 111
112 template<> 112 template<>
113 struct hash<content::BrowserContext*> { 113 struct hash<content::BrowserContext*> {
114 std::size_t operator()(content::BrowserContext* const& p) const { 114 std::size_t operator()(content::BrowserContext* const& p) const {
115 return reinterpret_cast<std::size_t>(p); 115 return reinterpret_cast<std::size_t>(p);
116 } 116 }
117 }; 117 };
118 118
119 } // namespace __gnu_cxx 119 } // namespace BASE_HASH_NAMESPACE
120 #endif 120 #endif
121 121
122 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_CONTEXT_H_ 122 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_CONTEXT_H_
OLDNEW
« no previous file with comments | « content/content_renderer.gypi ('k') | content/renderer/gpu/webgraphicscontext3d_command_buffer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698