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

Side by Side Diff: extensions/browser/app_window/test_app_window_contents.h

Issue 1909773002: Convert //extensions/browser 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
« no previous file with comments | « extensions/browser/app_window/native_app_window.h ('k') | extensions/browser/blob_holder.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_APP_WINDOW_TEST_APP_WINDOW_CONTENTS_ 5 #ifndef EXTENSIONS_BROWSER_APP_WINDOW_TEST_APP_WINDOW_CONTENTS_
6 #define EXTENSIONS_BROWSER_APP_WINDOW_TEST_APP_WINDOW_CONTENTS_ 6 #define EXTENSIONS_BROWSER_APP_WINDOW_TEST_APP_WINDOW_CONTENTS_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 18 matching lines...) Expand all
29 const GURL& url) override; 29 const GURL& url) override;
30 void LoadContents(int32_t creator_process_id) override; 30 void LoadContents(int32_t creator_process_id) override;
31 void NativeWindowChanged(NativeAppWindow* native_app_window) override; 31 void NativeWindowChanged(NativeAppWindow* native_app_window) override;
32 void NativeWindowClosed() override; 32 void NativeWindowClosed() override;
33 void DispatchWindowShownForTests() const override; 33 void DispatchWindowShownForTests() const override;
34 void OnWindowReady() override; 34 void OnWindowReady() override;
35 content::WebContents* GetWebContents() const override; 35 content::WebContents* GetWebContents() const override;
36 WindowController* GetWindowController() const override; 36 WindowController* GetWindowController() const override;
37 37
38 private: 38 private:
39 scoped_ptr<content::WebContents> web_contents_; 39 std::unique_ptr<content::WebContents> web_contents_;
40 40
41 DISALLOW_COPY_AND_ASSIGN(TestAppWindowContents); 41 DISALLOW_COPY_AND_ASSIGN(TestAppWindowContents);
42 }; 42 };
43 43
44 } // namespace extensions 44 } // namespace extensions
45 45
46 #endif // EXTENSIONS_BROWSER_APP_WINDOW_TEST_APP_WINDOW_CONTENTS_ 46 #endif // EXTENSIONS_BROWSER_APP_WINDOW_TEST_APP_WINDOW_CONTENTS_
OLDNEW
« no previous file with comments | « extensions/browser/app_window/native_app_window.h ('k') | extensions/browser/blob_holder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698