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

Side by Side Diff: remoting/host/setup/me2me_native_messaging_host.h

Issue 2661153003: Moving oauth code from host to base to allow code sharing between host and client. (Closed)
Patch Set: Merge branch 'master' into auth_token Created 3 years, 10 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 | « remoting/host/setup/host_starter.cc ('k') | remoting/host/setup/me2me_native_messaging_host.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 REMOTING_HOST_SETUP_ME2ME_NATIVE_MESSAGING_HOST_H_ 5 #ifndef REMOTING_HOST_SETUP_ME2ME_NATIVE_MESSAGING_HOST_H_
6 #define REMOTING_HOST_SETUP_ME2ME_NATIVE_MESSAGING_HOST_H_ 6 #define REMOTING_HOST_SETUP_ME2ME_NATIVE_MESSAGING_HOST_H_
7 7
8 #include <cstdint> 8 #include <cstdint>
9 #include <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
11 11
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
14 #include "base/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
15 #include "base/threading/thread_checker.h" 15 #include "base/threading/thread_checker.h"
16 #include "build/build_config.h" 16 #include "build/build_config.h"
17 #include "extensions/browser/api/messaging/native_message_host.h" 17 #include "extensions/browser/api/messaging/native_message_host.h"
18 #include "remoting/base/oauth_client.h"
18 #include "remoting/host/setup/daemon_controller.h" 19 #include "remoting/host/setup/daemon_controller.h"
19 #include "remoting/host/setup/oauth_client.h"
20 20
21 namespace base { 21 namespace base {
22 class DictionaryValue; 22 class DictionaryValue;
23 class ListValue; 23 class ListValue;
24 class SingleThreadTaskRunner; 24 class SingleThreadTaskRunner;
25 class Value; 25 class Value;
26 } // namespace base 26 } // namespace base
27 27
28 namespace remoting { 28 namespace remoting {
29 29
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 144
145 base::WeakPtr<Me2MeNativeMessagingHost> weak_ptr_; 145 base::WeakPtr<Me2MeNativeMessagingHost> weak_ptr_;
146 base::WeakPtrFactory<Me2MeNativeMessagingHost> weak_factory_; 146 base::WeakPtrFactory<Me2MeNativeMessagingHost> weak_factory_;
147 147
148 DISALLOW_COPY_AND_ASSIGN(Me2MeNativeMessagingHost); 148 DISALLOW_COPY_AND_ASSIGN(Me2MeNativeMessagingHost);
149 }; 149 };
150 150
151 } // namespace remoting 151 } // namespace remoting
152 152
153 #endif // REMOTING_HOST_SETUP_ME2ME_NATIVE_MESSAGING_HOST_H_ 153 #endif // REMOTING_HOST_SETUP_ME2ME_NATIVE_MESSAGING_HOST_H_
OLDNEW
« no previous file with comments | « remoting/host/setup/host_starter.cc ('k') | remoting/host/setup/me2me_native_messaging_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698