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

Side by Side Diff: extensions/browser/mojo/stash_backend.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
« no previous file with comments | « extensions/browser/mojo/keep_alive_impl.h ('k') | extensions/browser/mojo/stash_backend.cc » ('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_MOJO_STASH_BACKEND_H_ 5 #ifndef EXTENSIONS_BROWSER_MOJO_STASH_BACKEND_H_
6 #define EXTENSIONS_BROWSER_MOJO_STASH_BACKEND_H_ 6 #define EXTENSIONS_BROWSER_MOJO_STASH_BACKEND_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/memory/scoped_vector.h" 9 #include "base/memory/scoped_vector.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
11 #include "extensions/common/mojo/stash.mojom.h" 11 #include "extensions/common/mojo/stash.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 13
14 namespace extensions { 14 namespace extensions {
15 15
16 // A backend that provides access to StashService for a single extension. 16 // A backend that provides access to StashService for a single extension.
17 class StashBackend { 17 class StashBackend {
18 public: 18 public:
19 explicit StashBackend(const base::Closure& on_handle_readable); 19 explicit StashBackend(const base::Closure& on_handle_readable);
20 ~StashBackend(); 20 ~StashBackend();
21 21
22 // Creates a StashService that forwards calls to this StashBackend and bind it 22 // Creates a StashService that forwards calls to this StashBackend and bind it
(...skipping 23 matching lines...) Expand all
46 bool has_notified_; 46 bool has_notified_;
47 47
48 base::WeakPtrFactory<StashBackend> weak_factory_; 48 base::WeakPtrFactory<StashBackend> weak_factory_;
49 49
50 DISALLOW_COPY_AND_ASSIGN(StashBackend); 50 DISALLOW_COPY_AND_ASSIGN(StashBackend);
51 }; 51 };
52 52
53 } // namespace extensions 53 } // namespace extensions
54 54
55 #endif // EXTENSIONS_BROWSER_MOJO_STASH_BACKEND_H_ 55 #endif // EXTENSIONS_BROWSER_MOJO_STASH_BACKEND_H_
OLDNEW
« no previous file with comments | « extensions/browser/mojo/keep_alive_impl.h ('k') | extensions/browser/mojo/stash_backend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698