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

Side by Side Diff: ui/views_content_client/views_content_browser_client.h

Issue 1782053004: Change how the quota system computes the total poolsize for temporary storage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 3 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
« no previous file with comments | « ui/views_content_client/DEPS ('k') | ui/views_content_client/views_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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 UI_VIEWS_CONTENT_CLIENT_VIEWS_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef UI_VIEWS_CONTENT_CLIENT_VIEWS_CONTENT_BROWSER_CLIENT_H_
6 #define UI_VIEWS_CONTENT_CLIENT_VIEWS_CONTENT_BROWSER_CLIENT_H_ 6 #define UI_VIEWS_CONTENT_CLIENT_VIEWS_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "content/public/browser/content_browser_client.h" 9 #include "content/public/browser/content_browser_client.h"
10 10
11 namespace ui { 11 namespace ui {
12 12
13 class ViewsContentClient; 13 class ViewsContentClient;
14 class ViewsContentClientMainParts; 14 class ViewsContentClientMainParts;
15 15
16 class ViewsContentBrowserClient : public content::ContentBrowserClient { 16 class ViewsContentBrowserClient : public content::ContentBrowserClient {
17 public: 17 public:
18 explicit ViewsContentBrowserClient( 18 explicit ViewsContentBrowserClient(
19 ViewsContentClient* views_content_client); 19 ViewsContentClient* views_content_client);
20 ~ViewsContentBrowserClient() override; 20 ~ViewsContentBrowserClient() override;
21 21
22 // content::ContentBrowserClient: 22 // content::ContentBrowserClient:
23 content::BrowserMainParts* CreateBrowserMainParts( 23 content::BrowserMainParts* CreateBrowserMainParts(
24 const content::MainFunctionParams& parameters) override; 24 const content::MainFunctionParams& parameters) override;
25 void GetQuotaSettings(
26 content::BrowserContext* context,
27 content::StoragePartition* partition,
28 const storage::OptionalQuotaSettingsCallback& callback) override;
25 29
26 private: 30 private:
27 ViewsContentClientMainParts* views_content_main_parts_; 31 ViewsContentClientMainParts* views_content_main_parts_;
28 ViewsContentClient* views_content_client_; 32 ViewsContentClient* views_content_client_;
29 33
30 DISALLOW_COPY_AND_ASSIGN(ViewsContentBrowserClient); 34 DISALLOW_COPY_AND_ASSIGN(ViewsContentBrowserClient);
31 }; 35 };
32 36
33 } // namespace ui 37 } // namespace ui
34 38
35 #endif // UI_VIEWS_CONTENT_CLIENT_VIEWS_CONTENT_BROWSER_CLIENT_H_ 39 #endif // UI_VIEWS_CONTENT_CLIENT_VIEWS_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « ui/views_content_client/DEPS ('k') | ui/views_content_client/views_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698