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

Side by Side Diff: remoting/host/policy_watcher.cc

Issue 1547473005: Switch to standard integer types in remoting/host/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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/pairing_registry_delegate_win.h ('k') | remoting/host/policy_watcher_unittest.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 // Most of this code is copied from: 5 // Most of this code is copied from:
6 // src/chrome/browser/policy/asynchronous_policy_loader.{h,cc} 6 // src/chrome/browser/policy/asynchronous_policy_loader.{h,cc}
7 7
8 #include "remoting/host/policy_watcher.h" 8 #include "remoting/host/policy_watcher.h"
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/files/file_path.h" 12 #include "base/files/file_path.h"
13 #include "base/location.h" 13 #include "base/location.h"
14 #include "base/single_thread_task_runner.h" 14 #include "base/single_thread_task_runner.h"
15 #include "base/values.h" 15 #include "base/values.h"
16 #include "build/build_config.h"
16 #include "components/policy/core/common/async_policy_loader.h" 17 #include "components/policy/core/common/async_policy_loader.h"
17 #include "components/policy/core/common/async_policy_provider.h" 18 #include "components/policy/core/common/async_policy_provider.h"
18 #include "components/policy/core/common/policy_namespace.h" 19 #include "components/policy/core/common/policy_namespace.h"
19 #include "components/policy/core/common/policy_service_impl.h" 20 #include "components/policy/core/common/policy_service_impl.h"
20 #include "components/policy/core/common/schema.h" 21 #include "components/policy/core/common/schema.h"
21 #include "components/policy/core/common/schema_registry.h" 22 #include "components/policy/core/common/schema_registry.h"
22 #include "policy/policy_constants.h" 23 #include "policy/policy_constants.h"
23 #include "remoting/host/dns_blackhole_checker.h" 24 #include "remoting/host/dns_blackhole_checker.h"
24 #include "remoting/host/third_party_auth_config.h" 25 #include "remoting/host/third_party_auth_config.h"
25 #include "remoting/protocol/port_range.h" 26 #include "remoting/protocol/port_range.h"
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 policy::POLICY_SCOPE_MACHINE)); 368 policy::POLICY_SCOPE_MACHINE));
368 #else 369 #else
369 #error OS that is not yet supported by PolicyWatcher code. 370 #error OS that is not yet supported by PolicyWatcher code.
370 #endif 371 #endif
371 372
372 return PolicyWatcher::CreateFromPolicyLoader(policy_loader.Pass()); 373 return PolicyWatcher::CreateFromPolicyLoader(policy_loader.Pass());
373 #endif // !(OS_CHROMEOS) 374 #endif // !(OS_CHROMEOS)
374 } 375 }
375 376
376 } // namespace remoting 377 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/pairing_registry_delegate_win.h ('k') | remoting/host/policy_watcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698