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

Side by Side Diff: chrome/browser/extensions/api/downloads/downloads_api_unittest.cc

Issue 15746017: Move webkit/blob to new locations. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 6 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) 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 <algorithm> 5 #include <algorithm>
6 6
7 #include "base/file_util.h" 7 #include "base/file_util.h"
8 #include "base/files/scoped_temp_dir.h" 8 #include "base/files/scoped_temp_dir.h"
9 #include "base/json/json_reader.h" 9 #include "base/json/json_reader.h"
10 #include "base/message_loop.h" 10 #include "base/message_loop.h"
(...skipping 29 matching lines...) Expand all
40 #include "content/public/common/page_transition_types.h" 40 #include "content/public/common/page_transition_types.h"
41 #include "content/public/test/download_test_observer.h" 41 #include "content/public/test/download_test_observer.h"
42 #include "content/test/net/url_request_slow_download_job.h" 42 #include "content/test/net/url_request_slow_download_job.h"
43 #include "net/base/data_url.h" 43 #include "net/base/data_url.h"
44 #include "net/base/net_util.h" 44 #include "net/base/net_util.h"
45 #include "net/url_request/url_request.h" 45 #include "net/url_request/url_request.h"
46 #include "net/url_request/url_request_context.h" 46 #include "net/url_request/url_request_context.h"
47 #include "net/url_request/url_request_job.h" 47 #include "net/url_request/url_request_job.h"
48 #include "net/url_request/url_request_job_factory.h" 48 #include "net/url_request/url_request_job_factory.h"
49 #include "net/url_request/url_request_job_factory_impl.h" 49 #include "net/url_request/url_request_job_factory_impl.h"
50 #include "webkit/blob/blob_data.h" 50 #include "webkit/browser/blob/blob_storage_controller.h"
51 #include "webkit/blob/blob_storage_controller.h" 51 #include "webkit/browser/blob/blob_url_request_job.h"
52 #include "webkit/blob/blob_url_request_job.h"
53 #include "webkit/browser/fileapi/file_system_context.h" 52 #include "webkit/browser/fileapi/file_system_context.h"
54 #include "webkit/browser/fileapi/file_system_operation.h" 53 #include "webkit/browser/fileapi/file_system_operation.h"
55 #include "webkit/browser/fileapi/file_system_url.h" 54 #include "webkit/browser/fileapi/file_system_url.h"
55 #include "webkit/common/blob/blob_data.h"
56 56
57 using content::BrowserContext; 57 using content::BrowserContext;
58 using content::BrowserThread; 58 using content::BrowserThread;
59 using content::DownloadItem; 59 using content::DownloadItem;
60 using content::DownloadManager; 60 using content::DownloadManager;
61 using content::URLRequestSlowDownloadJob; 61 using content::URLRequestSlowDownloadJob;
62 62
63 namespace events = extensions::event_names; 63 namespace events = extensions::event_names;
64 64
65 namespace { 65 namespace {
(...skipping 3413 matching lines...) Expand 10 before | Expand all | Expand 10 after
3479 DownloadsApiTest() {} 3479 DownloadsApiTest() {}
3480 virtual ~DownloadsApiTest() {} 3480 virtual ~DownloadsApiTest() {}
3481 private: 3481 private:
3482 DISALLOW_COPY_AND_ASSIGN(DownloadsApiTest); 3482 DISALLOW_COPY_AND_ASSIGN(DownloadsApiTest);
3483 }; 3483 };
3484 3484
3485 3485
3486 IN_PROC_BROWSER_TEST_F(DownloadsApiTest, DownloadsApiTest) { 3486 IN_PROC_BROWSER_TEST_F(DownloadsApiTest, DownloadsApiTest) {
3487 ASSERT_TRUE(RunExtensionTest("downloads")) << message_; 3487 ASSERT_TRUE(RunExtensionTest("downloads")) << message_;
3488 } 3488 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698