blob: a02a5754e1026bb257dbfa10a104f215a64831f7 [file] [log] [blame]
Alex Clarkea4e9aa9e2019-10-07 15:20:331// Copyright 2019 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include "chrome/browser/profiles/profile_manager_android.h"
6
7#include "chrome/android/public/profiles/jni_headers/ProfileManager_jni.h"
8#include "chrome/browser/profiles/profile_android.h"
9
10ProfileManagerAndroid::ProfileManagerAndroid() = default;
11
12ProfileManagerAndroid::~ProfileManagerAndroid() = default;
13
14void ProfileManagerAndroid::OnProfileAdded(Profile* profile) {
15 Java_ProfileManager_onProfileAdded(
16 base::android::AttachCurrentThread(),
17 ProfileAndroid::FromProfile(profile)->GetJavaObject());
18}
19
20void ProfileManagerAndroid::OnProfileMarkedForPermanentDeletion(
21 Profile* profile) {}