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

Side by Side Diff: chrome/browser/ui/webui/chromeos/drive_internals_ui.cc

Issue 16632008: Use a direct include of strings headers in chrome/browser/ui/webui/, part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/ui/webui/chromeos/drive_internals_ui.h" 5 #include "chrome/browser/ui/webui/chromeos/drive_internals_ui.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/file_util.h" 9 #include "base/file_util.h"
10 #include "base/files/file_enumerator.h" 10 #include "base/files/file_enumerator.h"
11 #include "base/format_macros.h" 11 #include "base/format_macros.h"
12 #include "base/memory/scoped_vector.h" 12 #include "base/memory/scoped_vector.h"
13 #include "base/memory/weak_ptr.h" 13 #include "base/memory/weak_ptr.h"
14 #include "base/path_service.h" 14 #include "base/path_service.h"
15 #include "base/prefs/pref_service.h" 15 #include "base/prefs/pref_service.h"
16 #include "base/stringprintf.h" 16 #include "base/strings/stringprintf.h"
17 #include "base/sys_info.h" 17 #include "base/sys_info.h"
18 #include "chrome/browser/chromeos/drive/debug_info_collector.h" 18 #include "chrome/browser/chromeos/drive/debug_info_collector.h"
19 #include "chrome/browser/chromeos/drive/drive.pb.h" 19 #include "chrome/browser/chromeos/drive/drive.pb.h"
20 #include "chrome/browser/chromeos/drive/drive_integration_service.h" 20 #include "chrome/browser/chromeos/drive/drive_integration_service.h"
21 #include "chrome/browser/chromeos/drive/file_system_interface.h" 21 #include "chrome/browser/chromeos/drive/file_system_interface.h"
22 #include "chrome/browser/chromeos/drive/file_system_util.h" 22 #include "chrome/browser/chromeos/drive/file_system_util.h"
23 #include "chrome/browser/chromeos/drive/job_list.h" 23 #include "chrome/browser/chromeos/drive/job_list.h"
24 #include "chrome/browser/chromeos/drive/logging.h" 24 #include "chrome/browser/chromeos/drive/logging.h"
25 #include "chrome/browser/google_apis/auth_service.h" 25 #include "chrome/browser/google_apis/auth_service.h"
26 #include "chrome/browser/google_apis/drive_api_parser.h" 26 #include "chrome/browser/google_apis/drive_api_parser.h"
(...skipping 777 matching lines...) Expand 10 before | Expand all | Expand 10 after
804 content::WebUIDataSource::Create(chrome::kChromeUIDriveInternalsHost); 804 content::WebUIDataSource::Create(chrome::kChromeUIDriveInternalsHost);
805 source->AddResourcePath("drive_internals.css", IDR_DRIVE_INTERNALS_CSS); 805 source->AddResourcePath("drive_internals.css", IDR_DRIVE_INTERNALS_CSS);
806 source->AddResourcePath("drive_internals.js", IDR_DRIVE_INTERNALS_JS); 806 source->AddResourcePath("drive_internals.js", IDR_DRIVE_INTERNALS_JS);
807 source->SetDefaultResource(IDR_DRIVE_INTERNALS_HTML); 807 source->SetDefaultResource(IDR_DRIVE_INTERNALS_HTML);
808 808
809 Profile* profile = Profile::FromWebUI(web_ui); 809 Profile* profile = Profile::FromWebUI(web_ui);
810 content::WebUIDataSource::Add(profile, source); 810 content::WebUIDataSource::Add(profile, source);
811 } 811 }
812 812
813 } // namespace chromeos 813 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/about_ui.cc ('k') | chrome/browser/ui/webui/chromeos/imageburner/imageburner_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698