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

Side by Side Diff: content/browser/debugger/devtools_file_util.cc

Issue 7274031: Wholesale move of debugger sources to content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add OWNERS and DEPS. Created 9 years, 5 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) 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 4
5 #include "chrome/browser/debugger/devtools_file_util.h" 5 #include "content/browser/debugger/devtools_file_util.h"
6 6
7 #include "base/file_util.h" 7 #include "base/file_util.h"
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 9
10 #include "chrome/browser/browser_process.h" 10 #include "chrome/browser/browser_process.h"
11 #include "chrome/browser/download/download_prefs.h" 11 #include "chrome/browser/download/download_prefs.h"
12 #include "chrome/browser/profiles/profile.h" 12 #include "chrome/browser/profiles/profile.h"
13 #include "chrome/browser/ui/shell_dialogs.h" 13 #include "chrome/browser/ui/shell_dialogs.h"
14 14
15 namespace { 15 namespace {
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 98
99 } // namespace 99 } // namespace
100 100
101 // static 101 // static
102 void DevToolsFileUtil::SaveAs(Profile* profile, 102 void DevToolsFileUtil::SaveAs(Profile* profile,
103 const std::string& suggested_file_name, 103 const std::string& suggested_file_name,
104 const std::string& content) { 104 const std::string& content) {
105 scoped_refptr<SaveAsDialog> dialog = new SaveAsDialog(); 105 scoped_refptr<SaveAsDialog> dialog = new SaveAsDialog();
106 dialog->Show(profile, suggested_file_name, content); 106 dialog->Show(profile, suggested_file_name, content);
107 } 107 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698