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

Side by Side Diff: chrome/browser/ui/webui/version_handler_chromeos.h

Issue 137263007: Move CancelableTaskTracker to //base/task/CancelableTaskTracker. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move to base/task/cancelable_task_tracker* Created 6 years, 10 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 (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_VERSION_HANDLER_CHROMEOS_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_VERSION_HANDLER_CHROMEOS_H_
6 #define CHROME_BROWSER_UI_WEBUI_VERSION_HANDLER_CHROMEOS_H_ 6 #define CHROME_BROWSER_UI_WEBUI_VERSION_HANDLER_CHROMEOS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "chrome/browser/chromeos/version_loader.h" 10 #include "chrome/browser/chromeos/version_loader.h"
(...skipping 10 matching lines...) Expand all
21 virtual void HandleRequestVersionInfo(const base::ListValue* args) OVERRIDE; 21 virtual void HandleRequestVersionInfo(const base::ListValue* args) OVERRIDE;
22 22
23 // Callback from chromeos::VersionLoader giving the version. 23 // Callback from chromeos::VersionLoader giving the version.
24 void OnVersion(const std::string& version); 24 void OnVersion(const std::string& version);
25 25
26 private: 26 private:
27 // Handles asynchronously loading the version. 27 // Handles asynchronously loading the version.
28 chromeos::VersionLoader loader_; 28 chromeos::VersionLoader loader_;
29 29
30 // Used to request the version. 30 // Used to request the version.
31 CancelableTaskTracker tracker_; 31 base::CancelableTaskTracker tracker_;
32 32
33 DISALLOW_COPY_AND_ASSIGN(VersionHandlerChromeOS); 33 DISALLOW_COPY_AND_ASSIGN(VersionHandlerChromeOS);
34 }; 34 };
35 35
36 #endif // CHROME_BROWSER_UI_WEBUI_VERSION_HANDLER_CHROMEOS_H_ 36 #endif // CHROME_BROWSER_UI_WEBUI_VERSION_HANDLER_CHROMEOS_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/options/certificate_manager_handler.cc ('k') | chrome/chrome_common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698