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

Side by Side Diff: extensions/browser/api/display_source/display_source_connection_delegate_factory.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 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 EXTENSIONS_BROWSER_API_DISPLAY_SOURCE_DISPLAY_SOURCE_CONNECTION_DELEGATE _FACTORY_H_ 5 #ifndef EXTENSIONS_BROWSER_API_DISPLAY_SOURCE_DISPLAY_SOURCE_CONNECTION_DELEGATE _FACTORY_H_
6 #define EXTENSIONS_BROWSER_API_DISPLAY_SOURCE_DISPLAY_SOURCE_CONNECTION_DELEGATE _FACTORY_H_ 6 #define EXTENSIONS_BROWSER_API_DISPLAY_SOURCE_DISPLAY_SOURCE_CONNECTION_DELEGATE _FACTORY_H_
7 7
8 #include <memory>
9
8 #include "base/macros.h" 10 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h"
10 #include "base/memory/singleton.h" 11 #include "base/memory/singleton.h"
11 #include "components/keyed_service/content/browser_context_keyed_service_factory .h" 12 #include "components/keyed_service/content/browser_context_keyed_service_factory .h"
12 #include "extensions/browser/api/display_source/display_source_connection_delega te.h" 13 #include "extensions/browser/api/display_source/display_source_connection_delega te.h"
13 14
14 namespace context { 15 namespace context {
15 class BrowserContext; 16 class BrowserContext;
16 } 17 }
17 18
18 namespace extensions { 19 namespace extensions {
19 20
(...skipping 18 matching lines...) Expand all
38 content::BrowserContext* context) const override; 39 content::BrowserContext* context) const override;
39 bool ServiceIsCreatedWithBrowserContext() const override; 40 bool ServiceIsCreatedWithBrowserContext() const override;
40 bool ServiceIsNULLWhileTesting() const override; 41 bool ServiceIsNULLWhileTesting() const override;
41 42
42 DISALLOW_COPY_AND_ASSIGN(DisplaySourceConnectionDelegateFactory); 43 DISALLOW_COPY_AND_ASSIGN(DisplaySourceConnectionDelegateFactory);
43 }; 44 };
44 45
45 } // namespace extensions 46 } // namespace extensions
46 47
47 #endif // EXTENSIONS_BROWSER_API_DISPLAY_SOURCE_DISPLAY_SOURCE_CONNECTION_DELEG ATE_FACTORY_H_ 48 #endif // EXTENSIONS_BROWSER_API_DISPLAY_SOURCE_DISPLAY_SOURCE_CONNECTION_DELEG ATE_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698