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

Side by Side Diff: chrome/browser/chromeos/arc/policy/arc_policy_bridge.cc

Issue 2441563002: arc: Create intermediate directories in c/b/c/arc (Closed)
Patch Set: Re-rebase to ToT Created 4 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "chrome/browser/chromeos/arc/arc_policy_bridge.h" 5 #include "chrome/browser/chromeos/arc/policy/arc_policy_bridge.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/json/json_reader.h" 11 #include "base/json/json_reader.h"
12 #include "base/json/json_string_value_serializer.h" 12 #include "base/json/json_string_value_serializer.h"
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "base/memory/ptr_util.h" 14 #include "base/memory/ptr_util.h"
15 #include "base/values.h" 15 #include "base/values.h"
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 user_manager::UserManager::Get()->GetPrimaryUser(); 310 user_manager::UserManager::Get()->GetPrimaryUser();
311 Profile* const profile = 311 Profile* const profile =
312 chromeos::ProfileHelper::Get()->GetProfileByUser(primary_user); 312 chromeos::ProfileHelper::Get()->GetProfileByUser(primary_user);
313 auto* profile_policy_connector = 313 auto* profile_policy_connector =
314 policy::ProfilePolicyConnectorFactory::GetForBrowserContext(profile); 314 policy::ProfilePolicyConnectorFactory::GetForBrowserContext(profile);
315 policy_service_ = profile_policy_connector->policy_service(); 315 policy_service_ = profile_policy_connector->policy_service();
316 is_managed_ = profile_policy_connector->IsManaged(); 316 is_managed_ = profile_policy_connector->IsManaged();
317 } 317 }
318 318
319 } // namespace arc 319 } // namespace arc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698