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

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

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 #ifndef CHROME_BROWSER_DEBUGGER_DEVTOOLS_FILE_UTIL_H_ 5 #ifndef CHROME_BROWSER_DEBUGGER_DEVTOOLS_FILE_UTIL_H_
6 #define CHROME_BROWSER_DEBUGGER_DEVTOOLS_FILE_UTIL_H_ 6 #define CHROME_BROWSER_DEBUGGER_DEVTOOLS_FILE_UTIL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 12
13 class Profile; 13 class Profile;
14 14
15 class DevToolsFileUtil { 15 class DevToolsFileUtil {
16 public: 16 public:
17 17
18 // Shows Save As dialog using default save location from the |profile| prefs, 18 // Shows Save As dialog using default save location from the |profile| prefs,
19 // |suggested_file_name| as the default name and saves |content| to the given 19 // |suggested_file_name| as the default name and saves |content| to the given
20 // location. 20 // location.
21 static void SaveAs(Profile* profile, 21 static void SaveAs(Profile* profile,
22 const std::string& suggested_file_name, 22 const std::string& suggested_file_name,
23 const std::string& content); 23 const std::string& content);
24 24
25 private: 25 private:
26 DISALLOW_COPY_AND_ASSIGN(DevToolsFileUtil); 26 DISALLOW_COPY_AND_ASSIGN(DevToolsFileUtil);
27 }; 27 };
28 28
29 #endif // CHROME_BROWSER_DEBUGGER_DEVTOOLS_FILE_UTIL_H_ 29 #endif // CHROME_BROWSER_DEBUGGER_DEVTOOLS_FILE_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698