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

Side by Side Diff: chrome/browser/ui/webui/options/chromeos/storage_manager_handler.cc

Issue 2127403002: Make browsing_data component a layered component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed output_name from components/browsing_data/content/BUILD.gn Created 4 years, 5 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 #include "chrome/browser/ui/webui/options/chromeos/storage_manager_handler.h" 5 #include "chrome/browser/ui/webui/options/chromeos/storage_manager_handler.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <numeric> 8 #include <numeric>
9 #include <string> 9 #include <string>
10 10
(...skipping 10 matching lines...) Expand all
21 #include "chrome/browser/browsing_data/browsing_data_indexed_db_helper.h" 21 #include "chrome/browser/browsing_data/browsing_data_indexed_db_helper.h"
22 #include "chrome/browser/browsing_data/browsing_data_local_storage_helper.h" 22 #include "chrome/browser/browsing_data/browsing_data_local_storage_helper.h"
23 #include "chrome/browser/browsing_data/browsing_data_service_worker_helper.h" 23 #include "chrome/browser/browsing_data/browsing_data_service_worker_helper.h"
24 #include "chrome/browser/chromeos/arc/arc_auth_service.h" 24 #include "chrome/browser/chromeos/arc/arc_auth_service.h"
25 #include "chrome/browser/chromeos/drive/file_system_util.h" 25 #include "chrome/browser/chromeos/drive/file_system_util.h"
26 #include "chrome/browser/chromeos/file_manager/path_util.h" 26 #include "chrome/browser/chromeos/file_manager/path_util.h"
27 #include "chrome/browser/platform_util.h" 27 #include "chrome/browser/platform_util.h"
28 #include "chrome/browser/profiles/profile.h" 28 #include "chrome/browser/profiles/profile.h"
29 #include "chrome/grit/generated_resources.h" 29 #include "chrome/grit/generated_resources.h"
30 #include "chromeos/cryptohome/homedir_methods.h" 30 #include "chromeos/cryptohome/homedir_methods.h"
31 #include "components/browsing_data/storage_partition_http_cache_data_remover.h" 31 #include "components/browsing_data/content/storage_partition_http_cache_data_rem over.h"
32 #include "components/drive/chromeos/file_system_interface.h" 32 #include "components/drive/chromeos/file_system_interface.h"
33 #include "components/user_manager/user_manager.h" 33 #include "components/user_manager/user_manager.h"
34 #include "content/public/browser/browser_context.h" 34 #include "content/public/browser/browser_context.h"
35 #include "content/public/browser/browser_thread.h" 35 #include "content/public/browser/browser_thread.h"
36 #include "content/public/browser/storage_partition.h" 36 #include "content/public/browser/storage_partition.h"
37 #include "ui/base/l10n/l10n_util.h" 37 #include "ui/base/l10n/l10n_util.h"
38 #include "ui/base/text/bytes_formatting.h" 38 #include "ui/base/text/bytes_formatting.h"
39 39
40 namespace chromeos { 40 namespace chromeos {
41 namespace options { 41 namespace options {
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after
437 web_ui()->CallJavascriptFunctionUnsafe("options.StorageManager.setArcSize", 437 web_ui()->CallJavascriptFunctionUnsafe("options.StorageManager.setArcSize",
438 base::StringValue(size_string)); 438 base::StringValue(size_string));
439 } 439 }
440 440
441 void StorageManagerHandler::OnClearDriveCacheDone(bool success) { 441 void StorageManagerHandler::OnClearDriveCacheDone(bool success) {
442 UpdateDriveCacheSize(); 442 UpdateDriveCacheSize();
443 } 443 }
444 444
445 } // namespace options 445 } // namespace options
446 } // namespace chromeos 446 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser_ui_prefs.cc ('k') | chrome/browser/ui/webui/options/clear_browser_data_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698