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

Side by Side Diff: chrome/browser/devtools/devtools_file_helper.cc

Issue 11630004: DevTools: rename debugger/ to devtools/, move DevTools files into content/renderer/devtools. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: For landing Created 8 years 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
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/debugger/devtools_file_helper.h" 5 #include "chrome/browser/devtools/devtools_file_helper.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/file_util.h" 11 #include "base/file_util.h"
12 #include "base/lazy_instance.h" 12 #include "base/lazy_instance.h"
13 #include "base/md5.h" 13 #include "base/md5.h"
14 #include "base/value_conversions.h" 14 #include "base/value_conversions.h"
15 #include "chrome/browser/browser_process.h" 15 #include "chrome/browser/browser_process.h"
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 files_map->SetWithoutPathExpansion(base::MD5String(url), 190 files_map->SetWithoutPathExpansion(base::MD5String(url),
191 base::CreateFilePathValue(path)); 191 base::CreateFilePathValue(path));
192 delegate_->FileSavedAs(url); 192 delegate_->FileSavedAs(url);
193 193
194 BrowserThread::PostTask( 194 BrowserThread::PostTask(
195 BrowserThread::FILE, FROM_HERE, 195 BrowserThread::FILE, FROM_HERE,
196 base::Bind(&DevToolsFileHelper::WriteFile, 196 base::Bind(&DevToolsFileHelper::WriteFile,
197 path, 197 path,
198 content)); 198 content));
199 } 199 }
OLDNEW
« no previous file with comments | « chrome/browser/devtools/devtools_file_helper.h ('k') | chrome/browser/devtools/devtools_sanity_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698