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

Side by Side Diff: components/webdata/common/web_data_service_base.h

Issue 1917673002: Convert //components/[u-z]* from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 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 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 COMPONENTS_WEBDATA_COMMON_WEB_DATA_SERVICE_BASE_H_ 5 #ifndef COMPONENTS_WEBDATA_COMMON_WEB_DATA_SERVICE_BASE_H_
6 #define COMPONENTS_WEBDATA_COMMON_WEB_DATA_SERVICE_BASE_H_ 6 #define COMPONENTS_WEBDATA_COMMON_WEB_DATA_SERVICE_BASE_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 #include "base/memory/ref_counted_delete_on_message_loop.h" 12 #include "base/memory/ref_counted_delete_on_message_loop.h"
13 #include "base/memory/scoped_ptr.h"
14 #include "components/webdata/common/webdata_export.h" 13 #include "components/webdata/common/webdata_export.h"
15 #include "sql/init_status.h" 14 #include "sql/init_status.h"
16 15
17 class WebDatabase; 16 class WebDatabase;
18 class WebDatabaseService; 17 class WebDatabaseService;
19 class WebDatabaseTable; 18 class WebDatabaseTable;
20 19
21 namespace base { 20 namespace base {
22 // TODO(skyostil): Migrate to SingleThreadTaskRunner (crbug.com/465354). 21 // TODO(skyostil): Migrate to SingleThreadTaskRunner (crbug.com/465354).
23 class SingleThreadTaskRunner; 22 class SingleThreadTaskRunner;
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 // Our database service. 93 // Our database service.
95 scoped_refptr<WebDatabaseService> wdbs_; 94 scoped_refptr<WebDatabaseService> wdbs_;
96 95
97 private: 96 private:
98 ProfileErrorCallback profile_error_callback_; 97 ProfileErrorCallback profile_error_callback_;
99 98
100 DISALLOW_COPY_AND_ASSIGN(WebDataServiceBase); 99 DISALLOW_COPY_AND_ASSIGN(WebDataServiceBase);
101 }; 100 };
102 101
103 #endif // COMPONENTS_WEBDATA_COMMON_WEB_DATA_SERVICE_BASE_H_ 102 #endif // COMPONENTS_WEBDATA_COMMON_WEB_DATA_SERVICE_BASE_H_
OLDNEW
« no previous file with comments | « components/webdata/common/web_data_request_manager.cc ('k') | components/webdata/common/web_database.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698