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

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 4 years, 2 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
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 25
26 // TODO
27 // void GetTemporaryStorageConfiguration(
28 // content::BrowserContext* context,
29 // const base::FilePath& partition_path, bool is_incognito,
30 // const storage::TemporaryStorageConfigurationCallback& callback)override;
31
26 private: 32 private:
27 ViewsContentClientMainParts* views_content_main_parts_; 33 ViewsContentClientMainParts* views_content_main_parts_;
28 ViewsContentClient* views_content_client_; 34 ViewsContentClient* views_content_client_;
29 35
30 DISALLOW_COPY_AND_ASSIGN(ViewsContentBrowserClient); 36 DISALLOW_COPY_AND_ASSIGN(ViewsContentBrowserClient);
31 }; 37 };
32 38
33 } // namespace ui 39 } // namespace ui
34 40
35 #endif // UI_VIEWS_CONTENT_CLIENT_VIEWS_CONTENT_BROWSER_CLIENT_H_ 41 #endif // UI_VIEWS_CONTENT_CLIENT_VIEWS_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« content/browser/quota/quota_manager_unittest.cc ('K') | « storage/browser/quota/usage_tracker.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698