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

Side by Side Diff: chrome/browser/chrome_content_browser_client.h

Issue 1274763003: Initialize GPU shader disk cache on brower thread. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address content_unittests failure on Android Created 5 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
« no previous file with comments | « no previous file | chrome/browser/chrome_content_browser_client.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) 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 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 net::NetLog* GetNetLog() override; 216 net::NetLog* GetNetLog() override;
217 content::AccessTokenStore* CreateAccessTokenStore() override; 217 content::AccessTokenStore* CreateAccessTokenStore() override;
218 bool IsFastShutdownPossible() override; 218 bool IsFastShutdownPossible() override;
219 void OverrideWebkitPrefs(content::RenderViewHost* rvh, 219 void OverrideWebkitPrefs(content::RenderViewHost* rvh,
220 content::WebPreferences* prefs) override; 220 content::WebPreferences* prefs) override;
221 void BrowserURLHandlerCreated(content::BrowserURLHandler* handler) override; 221 void BrowserURLHandlerCreated(content::BrowserURLHandler* handler) override;
222 void ClearCache(content::RenderFrameHost* rfh) override; 222 void ClearCache(content::RenderFrameHost* rfh) override;
223 void ClearCookies(content::RenderFrameHost* rfh) override; 223 void ClearCookies(content::RenderFrameHost* rfh) override;
224 base::FilePath GetDefaultDownloadDirectory() override; 224 base::FilePath GetDefaultDownloadDirectory() override;
225 std::string GetDefaultDownloadName() override; 225 std::string GetDefaultDownloadName() override;
226 base::FilePath GetShaderDiskCacheDirectory() override;
226 void DidCreatePpapiPlugin(content::BrowserPpapiHost* browser_host) override; 227 void DidCreatePpapiPlugin(content::BrowserPpapiHost* browser_host) override;
227 content::BrowserPpapiHost* GetExternalBrowserPpapiHost( 228 content::BrowserPpapiHost* GetExternalBrowserPpapiHost(
228 int plugin_process_id) override; 229 int plugin_process_id) override;
229 bool AllowPepperSocketAPI( 230 bool AllowPepperSocketAPI(
230 content::BrowserContext* browser_context, 231 content::BrowserContext* browser_context,
231 const GURL& url, 232 const GURL& url,
232 bool private_api, 233 bool private_api,
233 const content::SocketPermissionRequest* params) override; 234 const content::SocketPermissionRequest* params) override;
234 ui::SelectFilePolicy* CreateSelectFilePolicy( 235 ui::SelectFilePolicy* CreateSelectFilePolicy(
235 content::WebContents* web_contents) override; 236 content::WebContents* web_contents) override;
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
332 std::vector<ChromeContentBrowserClientParts*> extra_parts_; 333 std::vector<ChromeContentBrowserClientParts*> extra_parts_;
333 334
334 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; 335 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_;
335 336
336 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); 337 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient);
337 }; 338 };
338 339
339 } // namespace chrome 340 } // namespace chrome
340 341
341 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 342 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698