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

Unified Diff: chrome/browser/download/save_file.cc

Issue 7373004: Move the save file code from chrome to content. This is just a file move so the DEPS in content\b... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/download/save_file.cc
===================================================================
--- chrome/browser/download/save_file.cc (revision 92558)
+++ chrome/browser/download/save_file.cc (working copy)
@@ -1,22 +0,0 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "chrome/browser/download/save_file.h"
-
-#include "base/logging.h"
-#include "content/browser/browser_thread.h"
-#include "net/base/file_stream.h"
-
-SaveFile::SaveFile(const SaveFileCreateInfo* info)
- : BaseFile(FilePath(), info->url, GURL(), 0, linked_ptr<net::FileStream>()),
- info_(info) {
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE));
-
- DCHECK(info);
- DCHECK(info->path.empty());
-}
-
-SaveFile::~SaveFile() {
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE));
-}

Powered by Google App Engine
This is Rietveld 408576698