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

Side by Side Diff: extensions/browser/api/guest_view/web_view/web_view_internal_api.h

Issue 1902873002: Convert //extensions/browser/api 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 EXTENSIONS_BROWSER_API_WEB_VIEW_WEB_VIEW_INTERNAL_API_H_ 5 #ifndef EXTENSIONS_BROWSER_API_WEB_VIEW_WEB_VIEW_INTERNAL_API_H_
6 #define EXTENSIONS_BROWSER_API_WEB_VIEW_WEB_VIEW_INTERNAL_API_H_ 6 #define EXTENSIONS_BROWSER_API_WEB_VIEW_WEB_VIEW_INTERNAL_API_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 const WebUIURLFetcher::WebUILoadFileCallback& callback); 104 const WebUIURLFetcher::WebUILoadFileCallback& callback);
105 105
106 // Contains extension resource built from path of file which is 106 // Contains extension resource built from path of file which is
107 // specified in JSON arguments. 107 // specified in JSON arguments.
108 extensions::ExtensionResource resource_; 108 extensions::ExtensionResource resource_;
109 109
110 int guest_instance_id_; 110 int guest_instance_id_;
111 111
112 GURL guest_src_; 112 GURL guest_src_;
113 113
114 scoped_ptr<WebUIURLFetcher> url_fetcher_; 114 std::unique_ptr<WebUIURLFetcher> url_fetcher_;
115 115
116 DISALLOW_COPY_AND_ASSIGN(WebViewInternalExecuteCodeFunction); 116 DISALLOW_COPY_AND_ASSIGN(WebViewInternalExecuteCodeFunction);
117 }; 117 };
118 118
119 class WebViewInternalExecuteScriptFunction 119 class WebViewInternalExecuteScriptFunction
120 : public WebViewInternalExecuteCodeFunction { 120 : public WebViewInternalExecuteCodeFunction {
121 public: 121 public:
122 WebViewInternalExecuteScriptFunction(); 122 WebViewInternalExecuteScriptFunction();
123 123
124 protected: 124 protected:
(...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after
482 uint32_t remove_mask_; 482 uint32_t remove_mask_;
483 // Tracks any data related or parse errors. 483 // Tracks any data related or parse errors.
484 bool bad_message_; 484 bool bad_message_;
485 485
486 DISALLOW_COPY_AND_ASSIGN(WebViewInternalClearDataFunction); 486 DISALLOW_COPY_AND_ASSIGN(WebViewInternalClearDataFunction);
487 }; 487 };
488 488
489 } // namespace extensions 489 } // namespace extensions
490 490
491 #endif // CHROME_BROWSER_EXTENSIONS_API_WEB_VIEW_WEB_VIEW_INTERNAL_API_H_ 491 #endif // CHROME_BROWSER_EXTENSIONS_API_WEB_VIEW_WEB_VIEW_INTERNAL_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698