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

Side by Side Diff: base/memory/lifetime_interface.h

Issue 566243005: Cast: Allow extension to control wifi options on windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: posix fixed again Created 6 years, 3 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
(Empty)
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // Baseclass for interfaces which only needs a start and a stop. The intention
6 // Is that you can define your feature with a method like:
7 // scoped_ptr<base::LifetimeInterface> StartFoo(arguments);
8 // The caller has no way to interface with the FOO that was created, except for
9 // deleting the pointer, which will stop FOO.
10
11 #ifndef BASE_MEMORY_LIFETIME_INTERFACE_H_
12 #define BASE_MEMORY_LIFETIME_INTERFACE_H_
13
14 namespace base {
15
16 class LifetimeInterface {
17 public:
18 virtual ~LifetimeInterface();
19 };
20
21 } // namespace base
22
23 #endif // BASE_MEMORY_LIFETIME_INTERFACE_H_
OLDNEW
« no previous file with comments | « base/base.gypi ('k') | base/memory/lifetime_interface.cc » ('j') | net/base/net_util.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698