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

Unified Diff: chrome/browser/ui/webui/sync_file_system_internals_ui.cc

Issue 14765003: Gets the initial sync service status. In the next patch I'll make the syncfs-internals dashboard a … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: arv review #1 Created 7 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/webui/sync_file_system_internals_ui.h ('k') | chrome/chrome_browser_ui.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/sync_file_system_internals_ui.cc
diff --git a/chrome/browser/ui/webui/sync_file_system_internals_ui.cc b/chrome/browser/ui/webui/sync_file_system_internals_ui.cc
deleted file mode 100644
index 8428a66ac42b874288d9441f9110050082058c8a..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/webui/sync_file_system_internals_ui.cc
+++ /dev/null
@@ -1,32 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "chrome/browser/ui/webui/sync_file_system_internals_ui.h"
-
-#include "chrome/browser/profiles/profile.h"
-#include "chrome/common/url_constants.h"
-#include "content/public/browser/web_ui.h"
-#include "content/public/browser/web_ui_data_source.h"
-#include "grit/sync_file_system_internals_resources.h"
-
-namespace {
-
-content::WebUIDataSource* CreateSyncFileSystemInternalsHTMLSource() {
- content::WebUIDataSource* source =
- content::WebUIDataSource::Create(
- chrome::kChromeUISyncFileSystemInternalsHost);
- source->SetDefaultResource(IDR_SYNC_FILE_SYSTEM_INTERNALS_MAIN_HTML);
- return source;
-}
-
-} // namespace
-
-SyncFileSystemInternalsUI::SyncFileSystemInternalsUI(content::WebUI* web_ui)
- : WebUIController(web_ui) {
- Profile* profile = Profile::FromWebUI(web_ui);
- content::WebUIDataSource::Add(profile,
- CreateSyncFileSystemInternalsHTMLSource());
-}
-
-SyncFileSystemInternalsUI::~SyncFileSystemInternalsUI() {}
« no previous file with comments | « chrome/browser/ui/webui/sync_file_system_internals_ui.h ('k') | chrome/chrome_browser_ui.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698