| Index: chrome/browser/metrics/variations/generated_resources_map_lookup.cc
|
| diff --git a/chrome/browser/metrics/variations/generated_resources_map_lookup.cc b/chrome/browser/metrics/variations/generated_resources_map_lookup.cc
|
| deleted file mode 100644
|
| index 3430257c1c7520a174633c4ee78315bb7d1d0745..0000000000000000000000000000000000000000
|
| --- a/chrome/browser/metrics/variations/generated_resources_map_lookup.cc
|
| +++ /dev/null
|
| @@ -1,20 +0,0 @@
|
| -// Copyright 2014 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -#include "chrome/browser/metrics/variations/generated_resources_map.h"
|
| -
|
| -#include <algorithm>
|
| -
|
| -namespace chrome_variations {
|
| -
|
| -int GetResourceIndex(uint32_t hash) {
|
| - const uint32_t* kEnd = kResourceHashes + kNumResources;
|
| - const uint32_t* element = std::lower_bound(kResourceHashes, kEnd, hash);
|
| -
|
| - if (element == kEnd || *element != hash)
|
| - return -1;
|
| - return kResourceIndices[element - kResourceHashes];
|
| -}
|
| -
|
| -} // namespace chrome_variations
|
|
|