Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Side by Side Diff: chrome/browser/extensions/file_manager_util.cc

Issue 8619007: Revert "Move a bunch of ChromeOS APIs out of chrome/browser/extensions." (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/extensions/file_manager_util.h ('k') | chrome/browser/platform_util_chromeos.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 #include "chrome/browser/chromeos/extensions/file_manager_util.h" 4 #include "chrome/browser/extensions/file_manager_util.h"
5 5
6 #include "base/bind.h" 6 #include "base/bind.h"
7 #include "base/json/json_writer.h" 7 #include "base/json/json_writer.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/metrics/histogram.h" 9 #include "base/metrics/histogram.h"
10 #include "base/path_service.h" 10 #include "base/path_service.h"
11 #include "base/string_util.h" 11 #include "base/string_util.h"
12 #include "base/utf_string_conversions.h" 12 #include "base/utf_string_conversions.h"
13 #include "base/values.h" 13 #include "base/values.h"
14 #include "chrome/browser/plugin_prefs.h" 14 #include "chrome/browser/plugin_prefs.h"
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 browser::ShowErrorBox( 338 browser::ShowErrorBox(
339 browser->window()->GetNativeHandle(), 339 browser->window()->GetNativeHandle(),
340 l10n_util::GetStringFUTF16( 340 l10n_util::GetStringFUTF16(
341 IDS_FILEBROWSER_ERROR_VIEWING_FILE_TITLE, 341 IDS_FILEBROWSER_ERROR_VIEWING_FILE_TITLE,
342 UTF8ToUTF16(full_path.BaseName().value())), 342 UTF8ToUTF16(full_path.BaseName().value())),
343 l10n_util::GetStringUTF16( 343 l10n_util::GetStringUTF16(
344 IDS_FILEBROWSER_ERROR_VIEWING_FILE)); 344 IDS_FILEBROWSER_ERROR_VIEWING_FILE));
345 } 345 }
346 346
347 } // namespace file_manager_util 347 } // namespace file_manager_util
348
OLDNEW
« no previous file with comments | « chrome/browser/extensions/file_manager_util.h ('k') | chrome/browser/platform_util_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698