EMMA Coverage Report (generated Fri Aug 23 16:39:17 PDT 2013)
[all classes][org.chromium.chrome.browser.profiles]

COVERAGE SUMMARY FOR SOURCE FILE [Profile.java]

nameclass, %method, %block, %line, %
Profile.java0%   (0/1)0%   (0/4)0%   (0/18)0%   (0/7)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class Profile0%   (0/1)0%   (0/4)0%   (0/18)0%   (0/7)
Profile (int): void 0%   (0/1)0%   (0/6)0%   (0/3)
create (int): Profile 0%   (0/1)0%   (0/5)0%   (0/1)
destroy (): void 0%   (0/1)0%   (0/4)0%   (0/2)
getNativePointer (): int 0%   (0/1)0%   (0/3)0%   (0/1)

1// Copyright (c) 2013 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 
5package org.chromium.chrome.browser.profiles;
6 
7import org.chromium.base.CalledByNative;
8 
9/**
10 * Wrapper that allows passing a Profile reference around in the Java layer.
11 */
12public class Profile {
13 
14    private int mNativeProfileAndroid;
15 
16    private Profile(int nativeProfileAndroid) {
17        mNativeProfileAndroid = nativeProfileAndroid;
18    }
19 
20    @CalledByNative
21    private static Profile create(int nativeProfileAndroid) {
22        return new Profile(nativeProfileAndroid);
23    }
24 
25    @CalledByNative
26    private void destroy() {
27        mNativeProfileAndroid = 0;
28    }
29 
30    @CalledByNative
31    private int getNativePointer() {
32        return mNativeProfileAndroid;
33    }
34}

[all classes][org.chromium.chrome.browser.profiles]
EMMA 2.0.5312 (C) Vladimir Roubtsov