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

Side by Side Diff: components/sessions/core/tab_restore_service_client.h

Issue 1912843002: Convert //components/sessions 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 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 COMPONENTS_SESSIONS_CORE_TAB_RESTORE_SERVICE_CLIENT_H_ 5 #ifndef COMPONENTS_SESSIONS_CORE_TAB_RESTORE_SERVICE_CLIENT_H_
6 #define COMPONENTS_SESSIONS_CORE_TAB_RESTORE_SERVICE_CLIENT_H_ 6 #define COMPONENTS_SESSIONS_CORE_TAB_RESTORE_SERVICE_CLIENT_H_
7 7
8 #include <memory>
9
8 #include "base/callback.h" 10 #include "base/callback.h"
9 #include "base/files/file_path.h" 11 #include "base/files/file_path.h"
10 #include "base/memory/scoped_ptr.h"
11 #include "base/memory/scoped_vector.h" 12 #include "base/memory/scoped_vector.h"
12 #include "components/sessions/core/session_id.h" 13 #include "components/sessions/core/session_id.h"
13 #include "components/sessions/core/sessions_export.h" 14 #include "components/sessions/core/sessions_export.h"
14 15
15 namespace base { 16 namespace base {
16 class CancelableTaskTracker; 17 class CancelableTaskTracker;
17 class SequencedWorkerPool; 18 class SequencedWorkerPool;
18 } 19 }
19 20
20 class GURL; 21 class GURL;
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 base::CancelableTaskTracker* tracker) = 0; 79 base::CancelableTaskTracker* tracker) = 0;
79 80
80 // Called when a tab is restored. |url| is the URL that the tab is currently 81 // Called when a tab is restored. |url| is the URL that the tab is currently
81 // visiting. 82 // visiting.
82 virtual void OnTabRestored(const GURL& url); 83 virtual void OnTabRestored(const GURL& url);
83 }; 84 };
84 85
85 } // namespace sessions 86 } // namespace sessions
86 87
87 #endif // COMPONENTS_SESSIONS_CORE_TAB_RESTORE_SERVICE_CLIENT_H_ 88 #endif // COMPONENTS_SESSIONS_CORE_TAB_RESTORE_SERVICE_CLIENT_H_
OLDNEW
« no previous file with comments | « components/sessions/core/tab_restore_service.h ('k') | components/sessions/core/tab_restore_service_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698