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

Side by Side Diff: chrome/browser/chromeos/extensions/file_manager/file_browser_private_api.cc

Issue 15798019: Use a direct include of strings headers in chrome/browser/chromeos/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 6 months 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 4
5 #include "chrome/browser/chromeos/extensions/file_manager/file_browser_private_a pi.h" 5 #include "chrome/browser/chromeos/extensions/file_manager/file_browser_private_a pi.h"
6 6
7 #include <sys/stat.h> 7 #include <sys/stat.h>
8 #include <sys/statvfs.h> 8 #include <sys/statvfs.h>
9 #include <sys/types.h> 9 #include <sys/types.h>
10 #include <utime.h> 10 #include <utime.h>
11 11
12 #include <map> 12 #include <map>
13 13
14 #include "base/bind.h" 14 #include "base/bind.h"
15 #include "base/files/file_path.h" 15 #include "base/files/file_path.h"
16 #include "base/format_macros.h" 16 #include "base/format_macros.h"
17 #include "base/logging.h" 17 #include "base/logging.h"
18 #include "base/memory/scoped_vector.h" 18 #include "base/memory/scoped_vector.h"
19 #include "base/posix/eintr_wrapper.h" 19 #include "base/posix/eintr_wrapper.h"
20 #include "base/stringprintf.h"
21 #include "base/strings/string_number_conversions.h" 20 #include "base/strings/string_number_conversions.h"
21 #include "base/strings/stringprintf.h"
22 #include "base/threading/sequenced_worker_pool.h" 22 #include "base/threading/sequenced_worker_pool.h"
23 #include "base/time.h" 23 #include "base/time.h"
24 #include "base/values.h" 24 #include "base/values.h"
25 #include "chrome/browser/chromeos/drive/drive.pb.h" 25 #include "chrome/browser/chromeos/drive/drive.pb.h"
26 #include "chrome/browser/chromeos/drive/drive_app_registry.h" 26 #include "chrome/browser/chromeos/drive/drive_app_registry.h"
27 #include "chrome/browser/chromeos/drive/drive_integration_service.h" 27 #include "chrome/browser/chromeos/drive/drive_integration_service.h"
28 #include "chrome/browser/chromeos/drive/file_system_interface.h" 28 #include "chrome/browser/chromeos/drive/file_system_interface.h"
29 #include "chrome/browser/chromeos/drive/file_system_util.h" 29 #include "chrome/browser/chromeos/drive/file_system_util.h"
30 #include "chrome/browser/chromeos/drive/job_list.h" 30 #include "chrome/browser/chromeos/drive/job_list.h"
31 #include "chrome/browser/chromeos/drive/logging.h" 31 #include "chrome/browser/chromeos/drive/logging.h"
(...skipping 3053 matching lines...) Expand 10 before | Expand all | Expand 10 after
3085 OpenNewWindowFunction::OpenNewWindowFunction() {} 3085 OpenNewWindowFunction::OpenNewWindowFunction() {}
3086 3086
3087 OpenNewWindowFunction::~OpenNewWindowFunction() {} 3087 OpenNewWindowFunction::~OpenNewWindowFunction() {}
3088 3088
3089 bool OpenNewWindowFunction::RunImpl() { 3089 bool OpenNewWindowFunction::RunImpl() {
3090 std::string url; 3090 std::string url;
3091 EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &url)); 3091 EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &url));
3092 file_manager_util::OpenNewWindow(profile_, GURL(url)); 3092 file_manager_util::OpenNewWindow(profile_, GURL(url));
3093 return true; 3093 return true;
3094 } 3094 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698