* commit 'd26681c02f3d8e6d1115aaff5d72829886237c30': metricsd: Relicense as Apache 2.
This commit is contained in:
commit
833992023c
52 changed files with 750 additions and 177 deletions
|
|
@ -1,27 +0,0 @@
|
||||||
// Copyright 2014 The Chromium OS Authors. All rights reserved.
|
|
||||||
//
|
|
||||||
// Redistribution and use in source and binary forms, with or without
|
|
||||||
// modification, are permitted provided that the following conditions are
|
|
||||||
// met:
|
|
||||||
//
|
|
||||||
// * Redistributions of source code must retain the above copyright
|
|
||||||
// notice, this list of conditions and the following disclaimer.
|
|
||||||
// * Redistributions in binary form must reproduce the above
|
|
||||||
// copyright notice, this list of conditions and the following disclaimer
|
|
||||||
// in the documentation and/or other materials provided with the
|
|
||||||
// distribution.
|
|
||||||
// * Neither the name of Google Inc. nor the names of its
|
|
||||||
// contributors may be used to endorse or promote products derived from
|
|
||||||
// this software without specific prior written permission.
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
||||||
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
||||||
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
||||||
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
||||||
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
||||||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
||||||
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
||||||
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
||||||
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
||||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
||||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
|
|
@ -1,6 +1,18 @@
|
||||||
Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
|
Copyright (C) 2015 The Android Open Source Project
|
||||||
Use of this source code is governed by a BSD-style license that can be
|
|
||||||
found in the LICENSE file.
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
|
||||||
|
================================================================================
|
||||||
|
|
||||||
The Chrome OS "metrics" package contains utilities for client-side user metric
|
The Chrome OS "metrics" package contains utilities for client-side user metric
|
||||||
collection.
|
collection.
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,18 @@
|
||||||
// Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
|
/*
|
||||||
// Use of this source code is governed by a BSD-style license that can be
|
* Copyright (C) 2015 The Android Open Source Project
|
||||||
// found in the LICENSE file.
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
//
|
//
|
||||||
// C wrapper to libmetrics
|
// C wrapper to libmetrics
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,18 @@
|
||||||
// Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
|
/*
|
||||||
// Use of this source code is governed by a BSD-style license that can be
|
* Copyright (C) 2015 The Android Open Source Project
|
||||||
// found in the LICENSE file.
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef METRICS_C_METRICS_LIBRARY_H_
|
#ifndef METRICS_C_METRICS_LIBRARY_H_
|
||||||
#define METRICS_C_METRICS_LIBRARY_H_
|
#define METRICS_C_METRICS_LIBRARY_H_
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,18 @@
|
||||||
// Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
|
/*
|
||||||
// Use of this source code is governed by a BSD-style license that can be
|
* Copyright (C) 2015 The Android Open Source Project
|
||||||
// found in the LICENSE file.
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef METRICS_METRICS_LIBRARY_H_
|
#ifndef METRICS_METRICS_LIBRARY_H_
|
||||||
#define METRICS_METRICS_LIBRARY_H_
|
#define METRICS_METRICS_LIBRARY_H_
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,18 @@
|
||||||
// Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
|
/*
|
||||||
// Use of this source code is governed by a BSD-style license that can be
|
* Copyright (C) 2015 The Android Open Source Project
|
||||||
// found in the LICENSE file.
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,18 @@
|
||||||
// Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
|
/*
|
||||||
// Use of this source code is governed by a BSD-style license that can be
|
* Copyright (C) 2015 The Android Open Source Project
|
||||||
// found in the LICENSE file.
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
#include "metrics_daemon.h"
|
#include "metrics_daemon.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,18 @@
|
||||||
// Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
|
/*
|
||||||
// Use of this source code is governed by a BSD-style license that can be
|
* Copyright (C) 2015 The Android Open Source Project
|
||||||
// found in the LICENSE file.
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef METRICS_METRICS_DAEMON_H_
|
#ifndef METRICS_METRICS_DAEMON_H_
|
||||||
#define METRICS_METRICS_DAEMON_H_
|
#define METRICS_METRICS_DAEMON_H_
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,18 @@
|
||||||
// Copyright (c) 2009 The Chromium OS Authors. All rights reserved.
|
/*
|
||||||
// Use of this source code is governed by a BSD-style license that can be
|
* Copyright (C) 2015 The Android Open Source Project
|
||||||
// found in the LICENSE file.
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
#include <base/at_exit.h>
|
#include <base/at_exit.h>
|
||||||
#include <base/command_line.h>
|
#include <base/command_line.h>
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,18 @@
|
||||||
// Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
|
/*
|
||||||
// Use of this source code is governed by a BSD-style license that can be
|
* Copyright (C) 2015 The Android Open Source Project
|
||||||
// found in the LICENSE file.
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
#include <utime.h>
|
#include <utime.h>
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,18 @@
|
||||||
// Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
|
/*
|
||||||
// Use of this source code is governed by a BSD-style license that can be
|
* Copyright (C) 2015 The Android Open Source Project
|
||||||
// found in the LICENSE file.
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
#include "metrics/metrics_library.h"
|
#include "metrics/metrics_library.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,18 @@
|
||||||
// Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
|
/*
|
||||||
// Use of this source code is governed by a BSD-style license that can be
|
* Copyright (C) 2015 The Android Open Source Project
|
||||||
// found in the LICENSE file.
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef METRICS_METRICS_LIBRARY_MOCK_H_
|
#ifndef METRICS_METRICS_LIBRARY_MOCK_H_
|
||||||
#define METRICS_METRICS_LIBRARY_MOCK_H_
|
#define METRICS_METRICS_LIBRARY_MOCK_H_
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,18 @@
|
||||||
// Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
|
/*
|
||||||
// Use of this source code is governed by a BSD-style license that can be
|
* Copyright (C) 2015 The Android Open Source Project
|
||||||
// found in the LICENSE file.
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,18 @@
|
||||||
// Copyright (c) 2014 The Chromium OS Authors. All rights reserved.
|
/*
|
||||||
// Use of this source code is governed by a BSD-style license that can be
|
* Copyright (C) 2015 The Android Open Source Project
|
||||||
// found in the LICENSE file.
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
#include "persistent_integer.h"
|
#include "persistent_integer.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,18 @@
|
||||||
// Copyright (c) 2014 The Chromium OS Authors. All rights reserved.
|
/*
|
||||||
// Use of this source code is governed by a BSD-style license that can be
|
* Copyright (C) 2015 The Android Open Source Project
|
||||||
// found in the LICENSE file.
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef METRICS_PERSISTENT_INTEGER_H_
|
#ifndef METRICS_PERSISTENT_INTEGER_H_
|
||||||
#define METRICS_PERSISTENT_INTEGER_H_
|
#define METRICS_PERSISTENT_INTEGER_H_
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,18 @@
|
||||||
// Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
|
/*
|
||||||
// Use of this source code is governed by a BSD-style license that can be
|
* Copyright (C) 2015 The Android Open Source Project
|
||||||
// found in the LICENSE file.
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef METRICS_PERSISTENT_INTEGER_MOCK_H_
|
#ifndef METRICS_PERSISTENT_INTEGER_MOCK_H_
|
||||||
#define METRICS_PERSISTENT_INTEGER_MOCK_H_
|
#define METRICS_PERSISTENT_INTEGER_MOCK_H_
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,18 @@
|
||||||
// Copyright (c) 2014 The Chromium OS Authors. All rights reserved.
|
/*
|
||||||
// Use of this source code is governed by a BSD-style license that can be
|
* Copyright (C) 2015 The Android Open Source Project
|
||||||
// found in the LICENSE file.
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,18 @@
|
||||||
// Copyright 2014 The Chromium OS Authors. All rights reserved.
|
/*
|
||||||
// Use of this source code is governed by a BSD-style license that can be
|
* Copyright (C) 2015 The Android Open Source Project
|
||||||
// found in the LICENSE file.
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
#include "serialization/metric_sample.h"
|
#include "serialization/metric_sample.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,18 @@
|
||||||
// Copyright 2014 The Chromium OS Authors. All rights reserved.
|
/*
|
||||||
// Use of this source code is governed by a BSD-style license that can be
|
* Copyright (C) 2015 The Android Open Source Project
|
||||||
// found in the LICENSE file.
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef METRICS_SERIALIZATION_METRIC_SAMPLE_H_
|
#ifndef METRICS_SERIALIZATION_METRIC_SAMPLE_H_
|
||||||
#define METRICS_SERIALIZATION_METRIC_SAMPLE_H_
|
#define METRICS_SERIALIZATION_METRIC_SAMPLE_H_
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,18 @@
|
||||||
// Copyright 2014 The Chromium OS Authors. All rights reserved.
|
/*
|
||||||
// Use of this source code is governed by a BSD-style license that can be
|
* Copyright (C) 2015 The Android Open Source Project
|
||||||
// found in the LICENSE file.
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
#include "serialization/serialization_utils.h"
|
#include "serialization/serialization_utils.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,18 @@
|
||||||
// Copyright 2014 The Chromium OS Authors. All rights reserved.
|
/*
|
||||||
// Use of this source code is governed by a BSD-style license that can be
|
* Copyright (C) 2015 The Android Open Source Project
|
||||||
// found in the LICENSE file.
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef METRICS_SERIALIZATION_SERIALIZATION_UTILS_H_
|
#ifndef METRICS_SERIALIZATION_SERIALIZATION_UTILS_H_
|
||||||
#define METRICS_SERIALIZATION_SERIALIZATION_UTILS_H_
|
#define METRICS_SERIALIZATION_SERIALIZATION_UTILS_H_
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,18 @@
|
||||||
// Copyright 2014 The Chromium OS Authors. All rights reserved.
|
/*
|
||||||
// Use of this source code is governed by a BSD-style license that can be
|
* Copyright (C) 2015 The Android Open Source Project
|
||||||
// found in the LICENSE file.
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
#include "serialization/serialization_utils.h"
|
#include "serialization/serialization_utils.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,18 @@
|
||||||
// Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
|
/*
|
||||||
// Use of this source code is governed by a BSD-style license that can be
|
* Copyright (C) 2015 The Android Open Source Project
|
||||||
// found in the LICENSE file.
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
#include "timer.h"
|
#include "timer.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,18 @@
|
||||||
// Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
|
/*
|
||||||
// Use of this source code is governed by a BSD-style license that can be
|
* Copyright (C) 2015 The Android Open Source Project
|
||||||
// found in the LICENSE file.
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
// Timer - class that provides timer tracking.
|
// Timer - class that provides timer tracking.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,18 @@
|
||||||
// Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
|
/*
|
||||||
// Use of this source code is governed by a BSD-style license that can be
|
* Copyright (C) 2015 The Android Open Source Project
|
||||||
// found in the LICENSE file.
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef METRICS_TIMER_MOCK_H_
|
#ifndef METRICS_TIMER_MOCK_H_
|
||||||
#define METRICS_TIMER_MOCK_H_
|
#define METRICS_TIMER_MOCK_H_
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,18 @@
|
||||||
// Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
|
/*
|
||||||
// Use of this source code is governed by a BSD-style license that can be
|
* Copyright (C) 2015 The Android Open Source Project
|
||||||
// found in the LICENSE file.
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,18 @@
|
||||||
// Copyright 2014 The Chromium OS Authors. All rights reserved.
|
/*
|
||||||
// Use of this source code is governed by a BSD-style license that can be
|
* Copyright (C) 2015 The Android Open Source Project
|
||||||
// found in the LICENSE file.
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
#include "uploader/metrics_hashes.h"
|
#include "uploader/metrics_hashes.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,18 @@
|
||||||
// Copyright 2014 The Chromium OS Authors. All rights reserved.
|
/*
|
||||||
// Use of this source code is governed by a BSD-style license that can be
|
* Copyright (C) 2015 The Android Open Source Project
|
||||||
// found in the LICENSE file.
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef METRICS_UPLOADER_METRICS_HASHES_H_
|
#ifndef METRICS_UPLOADER_METRICS_HASHES_H_
|
||||||
#define METRICS_UPLOADER_METRICS_HASHES_H_
|
#define METRICS_UPLOADER_METRICS_HASHES_H_
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,18 @@
|
||||||
// Copyright 2014 The Chromium OS Authors. All rights reserved.
|
/*
|
||||||
// Use of this source code is governed by a BSD-style license that can be
|
* Copyright (C) 2015 The Android Open Source Project
|
||||||
// found in the LICENSE file.
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
#include "uploader/metrics_hashes.h"
|
#include "uploader/metrics_hashes.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,18 @@
|
||||||
// Copyright 2014 The Chromium OS Authors. All rights reserved.
|
/*
|
||||||
// Use of this source code is governed by a BSD-style license that can be
|
* Copyright (C) 2015 The Android Open Source Project
|
||||||
// found in the LICENSE file.
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
#include "uploader/metrics_log.h"
|
#include "uploader/metrics_log.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,18 @@
|
||||||
// Copyright 2014 The Chromium OS Authors. All rights reserved.
|
/*
|
||||||
// Use of this source code is governed by a BSD-style license that can be
|
* Copyright (C) 2015 The Android Open Source Project
|
||||||
// found in the LICENSE file.
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef METRICS_UPLOADER_METRICS_LOG_H_
|
#ifndef METRICS_UPLOADER_METRICS_LOG_H_
|
||||||
#define METRICS_UPLOADER_METRICS_LOG_H_
|
#define METRICS_UPLOADER_METRICS_LOG_H_
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,18 @@
|
||||||
// Copyright 2014 The Chromium OS Authors. All rights reserved.
|
/*
|
||||||
// Use of this source code is governed by a BSD-style license that can be
|
* Copyright (C) 2015 The Android Open Source Project
|
||||||
// found in the LICENSE file.
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
#include "uploader/metrics_log_base.h"
|
#include "uploader/metrics_log_base.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,18 @@
|
||||||
// Copyright 2014 The Chromium OS Authors. All rights reserved.
|
/*
|
||||||
// Use of this source code is governed by a BSD-style license that can be
|
* Copyright (C) 2015 The Android Open Source Project
|
||||||
// found in the LICENSE file.
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
// This file defines a set of user experience metrics data recorded by
|
// This file defines a set of user experience metrics data recorded by
|
||||||
// the MetricsService. This is the unit of data that is sent to the server.
|
// the MetricsService. This is the unit of data that is sent to the server.
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,18 @@
|
||||||
// Copyright 2014 The Chromium OS Authors. All rights reserved.
|
/*
|
||||||
// Use of this source code is governed by a BSD-style license that can be
|
* Copyright (C) 2015 The Android Open Source Project
|
||||||
// found in the LICENSE file.
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
#include "uploader/metrics_log_base.h"
|
#include "uploader/metrics_log_base.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,18 @@
|
||||||
// Copyright 2014 The Chromium OS Authors. All rights reserved.
|
/*
|
||||||
// Use of this source code is governed by a BSD-style license that can be
|
* Copyright (C) 2015 The Android Open Source Project
|
||||||
// found in the LICENSE file.
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef METRICS_UPLOADER_MOCK_MOCK_SYSTEM_PROFILE_SETTER_H_
|
#ifndef METRICS_UPLOADER_MOCK_MOCK_SYSTEM_PROFILE_SETTER_H_
|
||||||
#define METRICS_UPLOADER_MOCK_MOCK_SYSTEM_PROFILE_SETTER_H_
|
#define METRICS_UPLOADER_MOCK_MOCK_SYSTEM_PROFILE_SETTER_H_
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,18 @@
|
||||||
// Copyright 2014 The Chromium OS Authors. All rights reserved.
|
/*
|
||||||
// Use of this source code is governed by a BSD-style license that can be
|
* Copyright (C) 2015 The Android Open Source Project
|
||||||
// found in the LICENSE file.
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
#include "uploader/mock/sender_mock.h"
|
#include "uploader/mock/sender_mock.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,18 @@
|
||||||
// Copyright 2014 The Chromium OS Authors. All rights reserved.
|
/*
|
||||||
// Use of this source code is governed by a BSD-style license that can be
|
* Copyright (C) 2015 The Android Open Source Project
|
||||||
// found in the LICENSE file.
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef METRICS_UPLOADER_MOCK_SENDER_MOCK_H_
|
#ifndef METRICS_UPLOADER_MOCK_SENDER_MOCK_H_
|
||||||
#define METRICS_UPLOADER_MOCK_SENDER_MOCK_H_
|
#define METRICS_UPLOADER_MOCK_SENDER_MOCK_H_
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,18 @@
|
||||||
Copyright 2015 The Chromium OS Authors. All rights reserved.
|
Copyright (C) 2015 The Android Open Source Project
|
||||||
Use of this source code is governed by a BSD-style license that can be
|
|
||||||
found in the LICENSE file.
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
This directory contains the protocol buffers used by the standalone metrics
|
This directory contains the protocol buffers used by the standalone metrics
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,18 @@
|
||||||
// Copyright 2014 The Chromium Authors. All rights reserved.
|
/*
|
||||||
// Use of this source code is governed by a BSD-style license that can be
|
* Copyright (C) 2015 The Android Open Source Project
|
||||||
// found in the LICENSE file.
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
//
|
//
|
||||||
// Protocol buffer for Chrome UMA (User Metrics Analysis).
|
// Protocol buffer for Chrome UMA (User Metrics Analysis).
|
||||||
//
|
//
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,18 @@
|
||||||
// Copyright 2014 The Chromium Authors. All rights reserved.
|
/*
|
||||||
// Use of this source code is governed by a BSD-style license that can be
|
* Copyright (C) 2015 The Android Open Source Project
|
||||||
// found in the LICENSE file.
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
//
|
//
|
||||||
// Histogram-collected metrics.
|
// Histogram-collected metrics.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,18 @@
|
||||||
// Copyright 2014 The Chromium Authors. All rights reserved.
|
/*
|
||||||
// Use of this source code is governed by a BSD-style license that can be
|
* Copyright (C) 2015 The Android Open Source Project
|
||||||
// found in the LICENSE file.
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
//
|
//
|
||||||
// Stores information about the user's brower and system configuration.
|
// Stores information about the user's brower and system configuration.
|
||||||
// The system configuration fields are recorded once per client session.
|
// The system configuration fields are recorded once per client session.
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,18 @@
|
||||||
// Copyright 2014 The Chromium Authors. All rights reserved.
|
/*
|
||||||
// Use of this source code is governed by a BSD-style license that can be
|
* Copyright (C) 2015 The Android Open Source Project
|
||||||
// found in the LICENSE file.
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
//
|
//
|
||||||
// Stores information about an event that occurs in response to a user action,
|
// Stores information about an event that occurs in response to a user action,
|
||||||
// e.g. an interaction with a browser UI element.
|
// e.g. an interaction with a browser UI element.
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,18 @@
|
||||||
// Copyright 2014 The Chromium OS Authors. All rights reserved.
|
/*
|
||||||
// Use of this source code is governed by a BSD-style license that can be
|
* Copyright (C) 2015 The Android Open Source Project
|
||||||
// found in the LICENSE file.
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef METRICS_UPLOADER_SENDER_H_
|
#ifndef METRICS_UPLOADER_SENDER_H_
|
||||||
#define METRICS_UPLOADER_SENDER_H_
|
#define METRICS_UPLOADER_SENDER_H_
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,18 @@
|
||||||
// Copyright 2014 The Chromium OS Authors. All rights reserved.
|
/*
|
||||||
// Use of this source code is governed by a BSD-style license that can be
|
* Copyright (C) 2015 The Android Open Source Project
|
||||||
// found in the LICENSE file.
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
#include "uploader/sender_http.h"
|
#include "uploader/sender_http.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,18 @@
|
||||||
// Copyright 2014 The Chromium OS Authors. All rights reserved.
|
/*
|
||||||
// Use of this source code is governed by a BSD-style license that can be
|
* Copyright (C) 2015 The Android Open Source Project
|
||||||
// found in the LICENSE file.
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef METRICS_UPLOADER_SENDER_HTTP_H_
|
#ifndef METRICS_UPLOADER_SENDER_HTTP_H_
|
||||||
#define METRICS_UPLOADER_SENDER_HTTP_H_
|
#define METRICS_UPLOADER_SENDER_HTTP_H_
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,18 @@
|
||||||
// Copyright 2014 The Chromium OS Authors. All rights reserved.
|
/*
|
||||||
// Use of this source code is governed by a BSD-style license that can be
|
* Copyright (C) 2015 The Android Open Source Project
|
||||||
// found in the LICENSE file.
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
#include "uploader/system_profile_cache.h"
|
#include "uploader/system_profile_cache.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,18 @@
|
||||||
// Copyright 2014 The Chromium OS Authors. All rights reserved.
|
/*
|
||||||
// Use of this source code is governed by a BSD-style license that can be
|
* Copyright (C) 2015 The Android Open Source Project
|
||||||
// found in the LICENSE file.
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef METRICS_UPLOADER_SYSTEM_PROFILE_CACHE_H_
|
#ifndef METRICS_UPLOADER_SYSTEM_PROFILE_CACHE_H_
|
||||||
#define METRICS_UPLOADER_SYSTEM_PROFILE_CACHE_H_
|
#define METRICS_UPLOADER_SYSTEM_PROFILE_CACHE_H_
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,18 @@
|
||||||
// Copyright 2014 The Chromium OS Authors. All rights reserved.
|
/*
|
||||||
// Use of this source code is governed by a BSD-style license that can be
|
* Copyright (C) 2015 The Android Open Source Project
|
||||||
// found in the LICENSE file.
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef METRICS_UPLOADER_SYSTEM_PROFILE_SETTER_H_
|
#ifndef METRICS_UPLOADER_SYSTEM_PROFILE_SETTER_H_
|
||||||
#define METRICS_UPLOADER_SYSTEM_PROFILE_SETTER_H_
|
#define METRICS_UPLOADER_SYSTEM_PROFILE_SETTER_H_
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,18 @@
|
||||||
// Copyright 2014 The Chromium OS Authors. All rights reserved.
|
/*
|
||||||
// Use of this source code is governed by a BSD-style license that can be
|
* Copyright (C) 2015 The Android Open Source Project
|
||||||
// found in the LICENSE file.
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
#include "uploader/upload_service.h"
|
#include "uploader/upload_service.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,18 @@
|
||||||
// Copyright 2014 The Chromium OS Authors. All rights reserved.
|
/*
|
||||||
// Use of this source code is governed by a BSD-style license that can be
|
* Copyright (C) 2015 The Android Open Source Project
|
||||||
// found in the LICENSE file.
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef METRICS_UPLOADER_UPLOAD_SERVICE_H_
|
#ifndef METRICS_UPLOADER_UPLOAD_SERVICE_H_
|
||||||
#define METRICS_UPLOADER_UPLOAD_SERVICE_H_
|
#define METRICS_UPLOADER_UPLOAD_SERVICE_H_
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,18 @@
|
||||||
// Copyright 2014 The Chromium OS Authors. All rights reserved.
|
/*
|
||||||
// Use of this source code is governed by a BSD-style license that can be
|
* Copyright (C) 2015 The Android Open Source Project
|
||||||
// found in the LICENSE file.
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue