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

Side by Side Diff: chrome/browser/autocomplete/shortcuts_provider_unittest.cc

Issue 15239002: Move Extension and PermissionsData to extensions/common. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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 "chrome/browser/autocomplete/shortcuts_provider.h" 5 #include "chrome/browser/autocomplete/shortcuts_provider.h"
6 6
7 #include <math.h> 7 #include <math.h>
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <functional> 10 #include <functional>
(...skipping 10 matching lines...) Expand all
21 #include "chrome/browser/autocomplete/autocomplete_match.h" 21 #include "chrome/browser/autocomplete/autocomplete_match.h"
22 #include "chrome/browser/autocomplete/autocomplete_provider.h" 22 #include "chrome/browser/autocomplete/autocomplete_provider.h"
23 #include "chrome/browser/autocomplete/autocomplete_provider_listener.h" 23 #include "chrome/browser/autocomplete/autocomplete_provider_listener.h"
24 #include "chrome/browser/autocomplete/autocomplete_result.h" 24 #include "chrome/browser/autocomplete/autocomplete_result.h"
25 #include "chrome/browser/chrome_notification_types.h" 25 #include "chrome/browser/chrome_notification_types.h"
26 #include "chrome/browser/history/history_service.h" 26 #include "chrome/browser/history/history_service.h"
27 #include "chrome/browser/history/in_memory_url_index.h" 27 #include "chrome/browser/history/in_memory_url_index.h"
28 #include "chrome/browser/history/shortcuts_backend.h" 28 #include "chrome/browser/history/shortcuts_backend.h"
29 #include "chrome/browser/history/shortcuts_backend_factory.h" 29 #include "chrome/browser/history/shortcuts_backend_factory.h"
30 #include "chrome/browser/history/url_database.h" 30 #include "chrome/browser/history/url_database.h"
31 #include "chrome/common/extensions/extension.h"
32 #include "chrome/common/pref_names.h" 31 #include "chrome/common/pref_names.h"
33 #include "chrome/test/base/testing_profile.h" 32 #include "chrome/test/base/testing_profile.h"
34 #include "content/public/browser/notification_service.h" 33 #include "content/public/browser/notification_service.h"
35 #include "content/public/test/test_browser_thread.h" 34 #include "content/public/test/test_browser_thread.h"
35 #include "extensions/common/extension.h"
36 #include "extensions/common/extension_builder.h" 36 #include "extensions/common/extension_builder.h"
37 #include "extensions/common/value_builder.h" 37 #include "extensions/common/value_builder.h"
38 #include "testing/gtest/include/gtest/gtest.h" 38 #include "testing/gtest/include/gtest/gtest.h"
39 39
40 40
41 // TestShortcutInfo ----------------------------------------------------------- 41 // TestShortcutInfo -----------------------------------------------------------
42 42
43 namespace { 43 namespace {
44 44
45 struct TestShortcutInfo { 45 struct TestShortcutInfo {
(...skipping 575 matching lines...) Expand 10 before | Expand all | Expand 10 after
621 content::NotificationService::current()->Notify( 621 content::NotificationService::current()->Notify(
622 chrome::NOTIFICATION_EXTENSION_UNLOADED, 622 chrome::NOTIFICATION_EXTENSION_UNLOADED,
623 content::Source<Profile>(&profile_), 623 content::Source<Profile>(&profile_),
624 content::Details<extensions::UnloadedExtensionInfo>(&details)); 624 content::Details<extensions::UnloadedExtensionInfo>(&details));
625 625
626 // Now the URL should have disappeared. 626 // Now the URL should have disappeared.
627 RunTest(text, URLs(), std::string()); 627 RunTest(text, URLs(), std::string());
628 } 628 }
629 629
630 } // namespace history 630 } // namespace history
OLDNEW
« no previous file with comments | « chrome/browser/autocomplete/extension_app_provider.cc ('k') | chrome/browser/automation/automation_provider_json.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698