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

Side by Side Diff: content/browser/web_contents/web_contents_impl.h

Issue 1917053003: unique_ptr_migration: clean up references to scoped_ptr as of r389721 (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 CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <functional> 10 #include <functional>
(...skipping 1095 matching lines...) Expand 10 before | Expand all | Expand 10 after
1106 FrameTree frame_tree_; 1106 FrameTree frame_tree_;
1107 1107
1108 // If this WebContents is part of a "tree of WebContents", then this contains 1108 // If this WebContents is part of a "tree of WebContents", then this contains
1109 // information about the structure. 1109 // information about the structure.
1110 std::unique_ptr<WebContentsTreeNode> node_; 1110 std::unique_ptr<WebContentsTreeNode> node_;
1111 1111
1112 // SavePackage, lazily created. 1112 // SavePackage, lazily created.
1113 scoped_refptr<SavePackage> save_package_; 1113 scoped_refptr<SavePackage> save_package_;
1114 1114
1115 // Manages/coordinates find-in-page requests. Created lazily. 1115 // Manages/coordinates find-in-page requests. Created lazily.
1116 scoped_ptr<FindRequestManager> find_request_manager_; 1116 std::unique_ptr<FindRequestManager> find_request_manager_;
1117 1117
1118 // Data for loading state ---------------------------------------------------- 1118 // Data for loading state ----------------------------------------------------
1119 1119
1120 // Indicates whether the current load is to a different document. Only valid 1120 // Indicates whether the current load is to a different document. Only valid
1121 // if is_loading_ is true. 1121 // if is_loading_ is true.
1122 bool is_load_to_different_document_; 1122 bool is_load_to_different_document_;
1123 1123
1124 // Indicates if the tab is considered crashed. 1124 // Indicates if the tab is considered crashed.
1125 base::TerminationStatus crashed_status_; 1125 base::TerminationStatus crashed_status_;
1126 int crashed_error_code_; 1126 int crashed_error_code_;
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
1377 // Adds/removes a callback called on creation of each new WebContents. 1377 // Adds/removes a callback called on creation of each new WebContents.
1378 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1378 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1379 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1379 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1380 1380
1381 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1381 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1382 }; 1382 };
1383 1383
1384 } // namespace content 1384 } // namespace content
1385 1385
1386 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1386 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698