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

Side by Side Diff: content/browser/download/save_package.h

Issue 9071001: base::Bind: Remove ScopedRunnableMethodFactory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review fixes. Created 8 years, 11 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
« no previous file with comments | « chrome/test/base/view_event_test_base.cc ('k') | content/browser/download/save_package.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 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 #ifndef CONTENT_BROWSER_DOWNLOAD_SAVE_PACKAGE_H_ 5 #ifndef CONTENT_BROWSER_DOWNLOAD_SAVE_PACKAGE_H_
6 #define CONTENT_BROWSER_DOWNLOAD_SAVE_PACKAGE_H_ 6 #define CONTENT_BROWSER_DOWNLOAD_SAVE_PACKAGE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <queue> 9 #include <queue>
10 #include <string> 10 #include <string>
11 #include <vector> 11 #include <vector>
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 // Now we actually use render_process_id as tab's unique id. 318 // Now we actually use render_process_id as tab's unique id.
319 const int tab_id_; 319 const int tab_id_;
320 320
321 // Unique ID for this SavePackage. 321 // Unique ID for this SavePackage.
322 const int unique_id_; 322 const int unique_id_;
323 323
324 friend class SavePackageTest; 324 friend class SavePackageTest;
325 FRIEND_TEST_ALL_PREFIXES(SavePackageTest, TestSuggestedSaveNames); 325 FRIEND_TEST_ALL_PREFIXES(SavePackageTest, TestSuggestedSaveNames);
326 FRIEND_TEST_ALL_PREFIXES(SavePackageTest, TestLongSafePureFilename); 326 FRIEND_TEST_ALL_PREFIXES(SavePackageTest, TestLongSafePureFilename);
327 327
328 ScopedRunnableMethodFactory<SavePackage> method_factory_;
329
330 DISALLOW_COPY_AND_ASSIGN(SavePackage); 328 DISALLOW_COPY_AND_ASSIGN(SavePackage);
331 }; 329 };
332 330
333 #endif // CONTENT_BROWSER_DOWNLOAD_SAVE_PACKAGE_H_ 331 #endif // CONTENT_BROWSER_DOWNLOAD_SAVE_PACKAGE_H_
OLDNEW
« no previous file with comments | « chrome/test/base/view_event_test_base.cc ('k') | content/browser/download/save_package.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698