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

Unified Diff: chrome/browser/ui/webui/version_handler_chromeos.h

Issue 1486403002: Mojo-ifying chrome://version. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: change slashes 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/webui/version_handler.cc ('k') | chrome/browser/ui/webui/version_ui.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/version_handler_chromeos.h
diff --git a/chrome/browser/ui/webui/version_handler_chromeos.h b/chrome/browser/ui/webui/version_handler_chromeos.h
deleted file mode 100644
index 2a9a9fea37fef7cf7263cb570942e0e666f81227..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/webui/version_handler_chromeos.h
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright (c) 2012 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.
-
-#ifndef CHROME_BROWSER_UI_WEBUI_VERSION_HANDLER_CHROMEOS_H_
-#define CHROME_BROWSER_UI_WEBUI_VERSION_HANDLER_CHROMEOS_H_
-
-#include <string>
-
-#include "base/macros.h"
-#include "base/memory/weak_ptr.h"
-#include "chrome/browser/ui/webui/version_handler.h"
-#include "chromeos/system/version_loader.h"
-
-// VersionHandlerChromeOS is responsible for loading the Chrome OS
-// version.
-class VersionHandlerChromeOS : public VersionHandler {
- public:
- VersionHandlerChromeOS();
- ~VersionHandlerChromeOS() override;
-
- // VersionHandler overrides:
- void HandleRequestVersionInfo(const base::ListValue* args) override;
-
- // Callbacks from chromeos::VersionLoader.
- void OnVersion(const std::string& version);
- void OnARCVersion(const std::string& version);
-
- private:
- base::WeakPtrFactory<VersionHandlerChromeOS> weak_factory_;
-
- DISALLOW_COPY_AND_ASSIGN(VersionHandlerChromeOS);
-};
-
-#endif // CHROME_BROWSER_UI_WEBUI_VERSION_HANDLER_CHROMEOS_H_
« no previous file with comments | « chrome/browser/ui/webui/version_handler.cc ('k') | chrome/browser/ui/webui/version_ui.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698