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

Side by Side Diff: chrome/browser/ui/ash/networking_config_delegate_chromeos.h

Issue 1865213004: Convert //chrome/browser/ui from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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) 2015 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 #ifndef CHROME_BROWSER_UI_ASH_NETWORKING_CONFIG_DELEGATE_CHROMEOS_H_ 5 #ifndef CHROME_BROWSER_UI_ASH_NETWORKING_CONFIG_DELEGATE_CHROMEOS_H_
6 #define CHROME_BROWSER_UI_ASH_NETWORKING_CONFIG_DELEGATE_CHROMEOS_H_ 6 #define CHROME_BROWSER_UI_ASH_NETWORKING_CONFIG_DELEGATE_CHROMEOS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "ash/networking_config_delegate.h" 10 #include "ash/networking_config_delegate.h"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "content/public/browser/browser_context.h" 13 #include "content/public/browser/browser_context.h"
14 14
15 namespace chromeos { 15 namespace chromeos {
16 16
17 // A class which allows the ash tray to retrieve extension provided networking 17 // A class which allows the ash tray to retrieve extension provided networking
18 // configuration through the networking config service. 18 // configuration through the networking config service.
19 class NetworkingConfigDelegateChromeos : public ash::NetworkingConfigDelegate { 19 class NetworkingConfigDelegateChromeos : public ash::NetworkingConfigDelegate {
20 public: 20 public:
21 NetworkingConfigDelegateChromeos(); 21 NetworkingConfigDelegateChromeos();
22 ~NetworkingConfigDelegateChromeos() override; 22 ~NetworkingConfigDelegateChromeos() override;
23 23
24 scoped_ptr<const ExtensionInfo> LookUpExtensionForNetwork( 24 std::unique_ptr<const ExtensionInfo> LookUpExtensionForNetwork(
25 const std::string& service_path) override; 25 const std::string& service_path) override;
26 26
27 private: 27 private:
28 std::string LookUpExtensionName(content::BrowserContext* context, 28 std::string LookUpExtensionName(content::BrowserContext* context,
29 std::string extension_id) const; 29 std::string extension_id) const;
30 30
31 DISALLOW_COPY_AND_ASSIGN(NetworkingConfigDelegateChromeos); 31 DISALLOW_COPY_AND_ASSIGN(NetworkingConfigDelegateChromeos);
32 }; 32 };
33 33
34 } // namespace chromeos 34 } // namespace chromeos
35 35
36 #endif // CHROME_BROWSER_UI_ASH_NETWORKING_CONFIG_DELEGATE_CHROMEOS_H_ 36 #endif // CHROME_BROWSER_UI_ASH_NETWORKING_CONFIG_DELEGATE_CHROMEOS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698