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

Unified Diff: chrome/browser/extensions/api/sessions/sessions_api.h

Issue 2200993004: Make TabRestoreService::Entry noncopyable and fix up surrounding code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@tab-test-cleanup
Patch Set: Eliminate a use-after-free, Windows build fix Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/api/sessions/sessions_api.h
diff --git a/chrome/browser/extensions/api/sessions/sessions_api.h b/chrome/browser/extensions/api/sessions/sessions_api.h
index cd1afeb4eef339ba6a5ddbb594d8a61cc618cbbc..77c477d060a0367b31261d5f62da7dfac57f1d39 100644
--- a/chrome/browser/extensions/api/sessions/sessions_api.h
+++ b/chrome/browser/extensions/api/sessions/sessions_api.h
@@ -42,7 +42,7 @@ class SessionsGetRecentlyClosedFunction : public ChromeSyncExtensionFunction {
const sessions::TabRestoreService::Window& window,
int session_id);
std::unique_ptr<api::sessions::Session> CreateSessionModel(
- const sessions::TabRestoreService::Entry* entry);
+ const sessions::TabRestoreService::Entry& entry);
};
class SessionsGetDevicesFunction : public ChromeSyncExtensionFunction {

Powered by Google App Engine
This is Rietveld 408576698