Remove duplicate CPU detection code; use base::CPU instead.

BUG=none
TEST=media_unittests.


Review URL: https://chromiumcodereview.appspot.com/10537082

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141627 0039d316-1c4b-4281-b951-d872f2087c98


CrOS-Libchrome-Original-Commit: 55508c4b3b949c1ead26e59e5685d94d16131da0
diff --git a/base/cpu.h b/base/cpu.h
index 9567f8b..e76556f 100644
--- a/base/cpu.h
+++ b/base/cpu.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 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.
 
@@ -26,13 +26,13 @@
   int type() const { return type_; }
   int extended_model() const { return ext_model_; }
   int extended_family() const { return ext_family_; }
-  int has_mmx() const { return has_mmx_; }
-  int has_sse() const { return has_sse_; }
-  int has_sse2() const { return has_sse2_; }
-  int has_sse3() const { return has_sse3_; }
-  int has_ssse3() const { return has_ssse3_; }
-  int has_sse41() const { return has_sse41_; }
-  int has_sse42() const { return has_sse42_; }
+  bool has_mmx() const { return has_mmx_; }
+  bool has_sse() const { return has_sse_; }
+  bool has_sse2() const { return has_sse2_; }
+  bool has_sse3() const { return has_sse3_; }
+  bool has_ssse3() const { return has_ssse3_; }
+  bool has_sse41() const { return has_sse41_; }
+  bool has_sse42() const { return has_sse42_; }
 
  private:
   // Query the processor for CPUID information.