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

Side by Side Diff: chrome/test/base/testing_profile.cc

Issue 317823007: Hook PushMessagingMessageFilter up to GCMDriver (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Send failure IPC when service is NULL Created 6 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 "chrome/test/base/testing_profile.h" 5 #include "chrome/test/base/testing_profile.h"
6 6
7 #include "build/build_config.h" 7 #include "build/build_config.h"
8 8
9 #include "base/base_paths.h" 9 #include "base/base_paths.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 829 matching lines...) Expand 10 before | Expand all | Expand 10 after
840 } 840 }
841 841
842 content::BrowserPluginGuestManager* TestingProfile::GetGuestManager() { 842 content::BrowserPluginGuestManager* TestingProfile::GetGuestManager() {
843 #if defined(ENABLE_EXTENSIONS) 843 #if defined(ENABLE_EXTENSIONS)
844 return GuestViewManager::FromBrowserContext(this); 844 return GuestViewManager::FromBrowserContext(this);
845 #else 845 #else
846 return NULL; 846 return NULL;
847 #endif 847 #endif
848 } 848 }
849 849
850 content::PushMessagingService* TestingProfile::GetPushMessagingService() {
851 return NULL;
852 }
853
850 bool TestingProfile::IsSameProfile(Profile *p) { 854 bool TestingProfile::IsSameProfile(Profile *p) {
851 return this == p; 855 return this == p;
852 } 856 }
853 857
854 base::Time TestingProfile::GetStartTime() const { 858 base::Time TestingProfile::GetStartTime() const {
855 return start_time_; 859 return start_time_;
856 } 860 }
857 861
858 base::FilePath TestingProfile::last_selected_directory() { 862 base::FilePath TestingProfile::last_selected_directory() {
859 return last_selected_directory_; 863 return last_selected_directory_;
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
992 path_, 996 path_,
993 delegate_, 997 delegate_,
994 extension_policy_, 998 extension_policy_,
995 pref_service_.Pass(), 999 pref_service_.Pass(),
996 incognito_, 1000 incognito_,
997 guest_session_, 1001 guest_session_,
998 supervised_user_id_, 1002 supervised_user_id_,
999 policy_service_.Pass(), 1003 policy_service_.Pass(),
1000 testing_factories_)); 1004 testing_factories_));
1001 } 1005 }
OLDNEW
« no previous file with comments | « chrome/test/base/testing_profile.h ('k') | content/browser/download/download_manager_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698