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

Side by Side Diff: chrome/browser/extensions/api/streams_private/streams_private_apitest.cc

Issue 63933003: Moved ExtensionInfoMap and ExtensionsQuotaService to extensions/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comment fix Created 7 years, 1 month 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 "base/command_line.h" 5 #include "base/command_line.h"
6 #include "base/message_loop/message_loop.h" 6 #include "base/message_loop/message_loop.h"
7 #include "base/prefs/pref_service.h" 7 #include "base/prefs/pref_service.h"
8 #include "chrome/browser/download/download_prefs.h" 8 #include "chrome/browser/download/download_prefs.h"
9 #include "chrome/browser/extensions/event_router.h" 9 #include "chrome/browser/extensions/event_router.h"
10 #include "chrome/browser/extensions/extension_apitest.h" 10 #include "chrome/browser/extensions/extension_apitest.h"
11 #include "chrome/browser/extensions/extension_info_map.h"
12 #include "chrome/browser/extensions/extension_system.h" 11 #include "chrome/browser/extensions/extension_system.h"
13 #include "chrome/browser/profiles/profile.h" 12 #include "chrome/browser/profiles/profile.h"
14 #include "chrome/browser/ui/browser.h" 13 #include "chrome/browser/ui/browser.h"
15 #include "chrome/browser/ui/tabs/tab_strip_model.h" 14 #include "chrome/browser/ui/tabs/tab_strip_model.h"
16 #include "chrome/common/extensions/mime_types_handler.h" 15 #include "chrome/common/extensions/mime_types_handler.h"
17 #include "chrome/common/pref_names.h" 16 #include "chrome/common/pref_names.h"
18 #include "chrome/test/base/test_switches.h" 17 #include "chrome/test/base/test_switches.h"
19 #include "chrome/test/base/ui_test_utils.h" 18 #include "chrome/test/base/ui_test_utils.h"
20 #include "content/public/browser/download_item.h" 19 #include "content/public/browser/download_item.h"
21 #include "content/public/browser/download_manager.h" 20 #include "content/public/browser/download_manager.h"
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 // The test extension should not receive any events by now. Send it an event 312 // The test extension should not receive any events by now. Send it an event
314 // with MIME type "test/done", so it stops waiting for the events. (If there 313 // with MIME type "test/done", so it stops waiting for the events. (If there
315 // was an event with MIME type 'plain/text', |catcher.GetNextResult()| will 314 // was an event with MIME type 'plain/text', |catcher.GetNextResult()| will
316 // fail regardless of the sent event; chrome.test.notifySuccess will not be 315 // fail regardless of the sent event; chrome.test.notifySuccess will not be
317 // called by the extension). 316 // called by the extension).
318 SendDoneEvent(); 317 SendDoneEvent();
319 EXPECT_TRUE(catcher.GetNextResult()); 318 EXPECT_TRUE(catcher.GetNextResult());
320 } 319 }
321 320
322 } // namespace 321 } // namespace
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/storage/storage_api.cc ('k') | chrome/browser/extensions/api/test/test_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698