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

Side by Side Diff: chrome/utility/importer/external_process_importer_bridge.h

Issue 1899083002: Convert //chrome from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . 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) 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_UTILITY_IMPORTER_EXTERNAL_PROCESS_IMPORTER_BRIDGE_H_ 5 #ifndef CHROME_UTILITY_IMPORTER_EXTERNAL_PROCESS_IMPORTER_BRIDGE_H_
6 #define CHROME_UTILITY_IMPORTER_EXTERNAL_PROCESS_IMPORTER_BRIDGE_H_ 6 #define CHROME_UTILITY_IMPORTER_EXTERNAL_PROCESS_IMPORTER_BRIDGE_H_
7 7
8 #include <memory>
8 #include <string> 9 #include <string>
9 #include <vector> 10 #include <vector>
10 11
11 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
12 #include "base/macros.h" 13 #include "base/macros.h"
13 #include "base/memory/scoped_ptr.h"
14 #include "build/build_config.h" 14 #include "build/build_config.h"
15 #include "chrome/common/importer/importer_bridge.h" 15 #include "chrome/common/importer/importer_bridge.h"
16 #include "components/favicon_base/favicon_usage_data.h" 16 #include "components/favicon_base/favicon_usage_data.h"
17 17
18 class GURL; 18 class GURL;
19 struct ImportedBookmarkEntry; 19 struct ImportedBookmarkEntry;
20 20
21 namespace base { 21 namespace base {
22 class DictionaryValue; 22 class DictionaryValue;
23 class TaskRunner; 23 class TaskRunner;
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 // End ImporterBridge implementation. 85 // End ImporterBridge implementation.
86 86
87 private: 87 private:
88 ~ExternalProcessImporterBridge() override; 88 ~ExternalProcessImporterBridge() override;
89 89
90 void Send(IPC::Message* message); 90 void Send(IPC::Message* message);
91 void SendInternal(IPC::Message* message); 91 void SendInternal(IPC::Message* message);
92 92
93 // Holds strings needed by the external importer because the resource 93 // Holds strings needed by the external importer because the resource
94 // bundle isn't available to the external process. 94 // bundle isn't available to the external process.
95 scoped_ptr<base::DictionaryValue> localized_strings_; 95 std::unique_ptr<base::DictionaryValue> localized_strings_;
96 96
97 IPC::Sender* sender_; 97 IPC::Sender* sender_;
98 scoped_refptr<base::TaskRunner> task_runner_; 98 scoped_refptr<base::TaskRunner> task_runner_;
99 99
100 DISALLOW_COPY_AND_ASSIGN(ExternalProcessImporterBridge); 100 DISALLOW_COPY_AND_ASSIGN(ExternalProcessImporterBridge);
101 }; 101 };
102 102
103 #endif // CHROME_UTILITY_IMPORTER_EXTERNAL_PROCESS_IMPORTER_BRIDGE_H_ 103 #endif // CHROME_UTILITY_IMPORTER_EXTERNAL_PROCESS_IMPORTER_BRIDGE_H_
OLDNEW
« no previous file with comments | « chrome/utility/importer/edge_importer_win.cc ('k') | chrome/utility/importer/firefox_importer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698