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

Side by Side Diff: extensions/browser/mojo/keep_alive_impl.h

Issue 1410053006: Move third_party/mojo/src/mojo/public to mojo/public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 years, 1 month 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_MOJO_KEEP_ALIVE_IMPL_H_ 5 #ifndef EXTENSIONS_BROWSER_MOJO_KEEP_ALIVE_IMPL_H_
6 #define EXTENSIONS_BROWSER_MOJO_KEEP_ALIVE_IMPL_H_ 6 #define EXTENSIONS_BROWSER_MOJO_KEEP_ALIVE_IMPL_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/scoped_observer.h" 9 #include "base/scoped_observer.h"
10 #include "extensions/browser/extension_registry_observer.h" 10 #include "extensions/browser/extension_registry_observer.h"
11 #include "extensions/common/mojo/keep_alive.mojom.h" 11 #include "extensions/common/mojo/keep_alive.mojom.h"
12 #include "third_party/mojo/src/mojo/public/cpp/bindings/interface_request.h" 12 #include "mojo/public/cpp/bindings/interface_request.h"
13 #include "third_party/mojo/src/mojo/public/cpp/bindings/strong_binding.h" 13 #include "mojo/public/cpp/bindings/strong_binding.h"
14 14
15 namespace content { 15 namespace content {
16 class BrowserContext; 16 class BrowserContext;
17 } 17 }
18 18
19 namespace extensions { 19 namespace extensions {
20 class Extension; 20 class Extension;
21 21
22 // An RAII mojo service implementation for extension keep alives. This adds a 22 // An RAII mojo service implementation for extension keep alives. This adds a
23 // keep alive on construction and removes it on destruction. 23 // keep alive on construction and removes it on destruction.
(...skipping 24 matching lines...) Expand all
48 const Extension* extension_; 48 const Extension* extension_;
49 ScopedObserver<ExtensionRegistry, KeepAliveImpl> extension_registry_observer_; 49 ScopedObserver<ExtensionRegistry, KeepAliveImpl> extension_registry_observer_;
50 mojo::StrongBinding<KeepAlive> binding_; 50 mojo::StrongBinding<KeepAlive> binding_;
51 51
52 DISALLOW_COPY_AND_ASSIGN(KeepAliveImpl); 52 DISALLOW_COPY_AND_ASSIGN(KeepAliveImpl);
53 }; 53 };
54 54
55 } // namespace extensions 55 } // namespace extensions
56 56
57 #endif // EXTENSIONS_BROWSER_MOJO_KEEP_ALIVE_IMPL_H_ 57 #endif // EXTENSIONS_BROWSER_MOJO_KEEP_ALIVE_IMPL_H_
OLDNEW
« no previous file with comments | « extensions/browser/api/mime_handler_private/mime_handler_private.cc ('k') | extensions/browser/mojo/stash_backend.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698