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

Side by Side Diff: chrome/browser/ui/webui/options/clear_browser_data_handler.h

Issue 1419103009: [Sync] Componentize ProfileSyncService (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@max_bogue_sync_backend_host
Patch Set: Rebase Created 5 years, 1 month 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 (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_UI_WEBUI_OPTIONS_CLEAR_BROWSER_DATA_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_CLEAR_BROWSER_DATA_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_CLEAR_BROWSER_DATA_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_CLEAR_BROWSER_DATA_HANDLER_H_
7 7
8 #include "base/memory/scoped_vector.h" 8 #include "base/memory/scoped_vector.h"
9 #include "base/prefs/pref_member.h" 9 #include "base/prefs/pref_member.h"
10 #include "chrome/browser/browsing_data/browsing_data_counter.h" 10 #include "chrome/browser/browsing_data/browsing_data_counter.h"
11 #include "chrome/browser/browsing_data/browsing_data_remover.h" 11 #include "chrome/browser/browsing_data/browsing_data_remover.h"
12 #include "chrome/browser/sync/profile_sync_service.h"
13 #include "chrome/browser/ui/webui/options/options_ui.h" 12 #include "chrome/browser/ui/webui/options/options_ui.h"
13 #include "components/browser_sync/browser/profile_sync_service.h"
14 14
15 namespace options { 15 namespace options {
16 16
17 // Clear browser data handler page UI handler. 17 // Clear browser data handler page UI handler.
18 class ClearBrowserDataHandler : public OptionsPageUIHandler, 18 class ClearBrowserDataHandler : public OptionsPageUIHandler,
19 public BrowsingDataRemover::Observer, 19 public BrowsingDataRemover::Observer,
20 public sync_driver::SyncServiceObserver { 20 public sync_driver::SyncServiceObserver {
21 public: 21 public:
22 ClearBrowserDataHandler(); 22 ClearBrowserDataHandler();
23 ~ClearBrowserDataHandler() override; 23 ~ClearBrowserDataHandler() override;
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 76
77 // Informs us whether the user is syncing their data. 77 // Informs us whether the user is syncing their data.
78 ProfileSyncService* sync_service_; 78 ProfileSyncService* sync_service_;
79 79
80 DISALLOW_COPY_AND_ASSIGN(ClearBrowserDataHandler); 80 DISALLOW_COPY_AND_ASSIGN(ClearBrowserDataHandler);
81 }; 81 };
82 82
83 } // namespace options 83 } // namespace options
84 84
85 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CLEAR_BROWSER_DATA_HANDLER_H_ 85 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CLEAR_BROWSER_DATA_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/options/browser_options_handler.cc ('k') | chrome/browser/ui/webui/options/create_profile_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698