| Index: metrics_library.cc
 | 
| diff --git a/metrics_library.cc b/metrics_library.cc
 | 
| index 6ec72262d017395dddc15ecb062f70a0124510b0..e4087ef37ae874a7d3b1d223a0cdd7cd18d9d40d 100644
 | 
| --- a/metrics_library.cc
 | 
| +++ b/metrics_library.cc
 | 
| @@ -20,12 +20,12 @@ static const char kUMAEventsPath[] =
 | 
|      "/var/log/metrics/uma-events";
 | 
|  static const int32_t kBufferSize = 1024;
 | 
|  
 | 
| -using namespace std;
 | 
| +using std::string;
 | 
|  
 | 
|  // TODO(sosa@chromium.org) - use Chromium logger instead of stderr
 | 
|  static void PrintError(const char* message, const char* file,
 | 
|                         int code) {
 | 
| -  static const char *kProgramName = "libmetrics";
 | 
| +  static const char kProgramName[] = "libmetrics";
 | 
|    if (code == 0) {
 | 
|      fprintf(stderr, "%s: %s\n", kProgramName, message);
 | 
|    } else if (file == NULL) {
 | 
| @@ -113,7 +113,7 @@ void MetricsLibrary::Init() {
 | 
|  }
 | 
|  
 | 
|  bool MetricsLibrary::SendToAutotest(const string& name, int value) {
 | 
| -  FILE *autotest_file = fopen(kAutotestPath, "a+");
 | 
| +  FILE* autotest_file = fopen(kAutotestPath, "a+");
 | 
|    if (autotest_file == NULL) {
 | 
|      PrintError("fopen", kAutotestPath, errno);
 | 
|      return false;
 | 
| 
 |