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

Side by Side Diff: chrome/browser/extensions/api/messaging/native_message_host_chromeos.cc

Issue 2261253003: Add chrome/browser/extensions to "GN check" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: dumb typo Created 4 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
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 #include "extensions/browser/api/messaging/native_message_host.h" 5 #include "extensions/browser/api/messaging/native_message_host.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 10
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "base/bind_helpers.h" 12 #include "base/bind_helpers.h"
13 #include "base/json/json_reader.h" 13 #include "base/json/json_reader.h"
14 #include "base/json/json_writer.h" 14 #include "base/json/json_writer.h"
15 #include "base/location.h" 15 #include "base/location.h"
16 #include "base/macros.h" 16 #include "base/macros.h"
17 #include "base/threading/thread_task_runner_handle.h" 17 #include "base/threading/thread_task_runner_handle.h"
18 #include "base/values.h" 18 #include "base/values.h"
19 #include "chrome/browser/browser_process.h" 19 #include "chrome/browser/browser_process.h"
20 #include "chrome/browser/chromeos/arc/arc_support_host.h" 20 #include "chrome/browser/chromeos/arc/arc_support_host.h"
21 #include "chrome/browser/extensions/api/messaging/native_messaging_test_util.h"
22 #include "components/policy/core/common/policy_service.h" 21 #include "components/policy/core/common/policy_service.h"
23 #include "content/public/browser/browser_thread.h" 22 #include "content/public/browser/browser_thread.h"
24 #include "extensions/common/constants.h" 23 #include "extensions/common/constants.h"
25 #include "extensions/common/url_pattern.h" 24 #include "extensions/common/url_pattern.h"
26 #include "net/url_request/url_request_context_getter.h" 25 #include "net/url_request/url_request_context_getter.h"
27 #include "remoting/host/chromoting_host_context.h" 26 #include "remoting/host/chromoting_host_context.h"
28 #include "remoting/host/it2me/it2me_native_messaging_host.h" 27 #include "remoting/host/it2me/it2me_native_messaging_host.h"
29 #include "ui/gfx/native_widget_types.h" 28 #include "ui/gfx/native_widget_types.h"
30 #include "url/gurl.h" 29 #include "url/gurl.h"
31 30
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 } 172 }
174 *error = kForbiddenError; 173 *error = kForbiddenError;
175 return nullptr; 174 return nullptr;
176 } 175 }
177 } 176 }
178 *error = kNotFoundError; 177 *error = kNotFoundError;
179 return nullptr; 178 return nullptr;
180 } 179 }
181 180
182 } // namespace extensions 181 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698