Index: chrome/browser/drive/drive_app_registry.cc |
diff --git a/chrome/browser/chromeos/drive/drive_app_registry.cc b/chrome/browser/drive/drive_app_registry.cc |
similarity index 97% |
rename from chrome/browser/chromeos/drive/drive_app_registry.cc |
rename to chrome/browser/drive/drive_app_registry.cc |
index 4043edd406239f412960b6edb9680948f4be6847..869229b49feff71181c9f4fb080cb145120bf96f 100644 |
--- a/chrome/browser/chromeos/drive/drive_app_registry.cc |
+++ b/chrome/browser/drive/drive_app_registry.cc |
@@ -2,7 +2,7 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "chrome/browser/chromeos/drive/drive_app_registry.h" |
+#include "chrome/browser/drive/drive_app_registry.h" |
#include <algorithm> |
#include <set> |
@@ -75,7 +75,8 @@ void DriveAppRegistry::GetAppsForFile( |
std::vector<std::string> matched_apps; |
if (!file_extension.empty()) { |
- const base::FilePath::StringType without_dot = file_extension.substr(1); |
+ const base::FilePath::StringType without_dot = |
hashimoto
2014/01/09 05:30:14
|without_dot| shouldn't be a std::string?
kinaba
2014/01/09 05:39:56
Ugg, Right.
|
+ base::FilePath(file_extension.substr(1)).AsUTF8Unsafe(); |
FindAppsForSelector(without_dot, extension_map_, &matched_apps); |
} |
if (!mime_type.empty()) |