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

Side by Side Diff: ios/chrome/browser/ui/webui/sync_internals/sync_internals_ui.cc

Issue 2203673002: [Sync] Move //components/sync_driver to //components/sync/driver. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sd-a
Patch Set: Full change rebased on static lib. Created 4 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "ios/chrome/browser/ui/webui/sync_internals/sync_internals_ui.h" 5 #include "ios/chrome/browser/ui/webui/sync_internals/sync_internals_ui.h"
6 6
7 #include "components/grit/components_resources.h" 7 #include "components/grit/components_resources.h"
8 #include "components/sync_driver/about_sync_util.h" 8 #include "components/sync/driver/about_sync_util.h"
9 #include "ios/chrome/browser/browser_state/chrome_browser_state.h" 9 #include "ios/chrome/browser/browser_state/chrome_browser_state.h"
10 #include "ios/chrome/browser/chrome_url_constants.h" 10 #include "ios/chrome/browser/chrome_url_constants.h"
11 #include "ios/chrome/browser/ui/webui/sync_internals/sync_internals_message_hand ler.h" 11 #include "ios/chrome/browser/ui/webui/sync_internals/sync_internals_message_hand ler.h"
12 #include "ios/web/public/web_ui_ios_data_source.h" 12 #include "ios/web/public/web_ui_ios_data_source.h"
13 #include "ios/web/public/webui/web_ui_ios.h" 13 #include "ios/web/public/webui/web_ui_ios.h"
14 14
15 namespace { 15 namespace {
16 16
17 web::WebUIIOSDataSource* CreateSyncInternalsHTMLSource() { 17 web::WebUIIOSDataSource* CreateSyncInternalsHTMLSource() {
18 web::WebUIIOSDataSource* source = 18 web::WebUIIOSDataSource* source =
(...skipping 27 matching lines...) Expand all
46 } // namespace 46 } // namespace
47 47
48 SyncInternalsUI::SyncInternalsUI(web::WebUIIOS* web_ui) 48 SyncInternalsUI::SyncInternalsUI(web::WebUIIOS* web_ui)
49 : web::WebUIIOSController(web_ui) { 49 : web::WebUIIOSController(web_ui) {
50 web::WebUIIOSDataSource::Add(ios::ChromeBrowserState::FromWebUIIOS(web_ui), 50 web::WebUIIOSDataSource::Add(ios::ChromeBrowserState::FromWebUIIOS(web_ui),
51 CreateSyncInternalsHTMLSource()); 51 CreateSyncInternalsHTMLSource());
52 web_ui->AddMessageHandler(new SyncInternalsMessageHandler); 52 web_ui->AddMessageHandler(new SyncInternalsMessageHandler);
53 } 53 }
54 54
55 SyncInternalsUI::~SyncInternalsUI() {} 55 SyncInternalsUI::~SyncInternalsUI() {}
OLDNEW
« no previous file with comments | « ios/chrome/browser/ui/webui/sync_internals/sync_internals_message_handler.cc ('k') | ios/chrome/ios_chrome.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698