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

Side by Side Diff: chrome/browser/ui/app_list/test/fake_profile.h

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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 CHROME_BROWSER_UI_APP_LIST_TEST_FAKE_PROFILE_H_ 5 #ifndef CHROME_BROWSER_UI_APP_LIST_TEST_FAKE_PROFILE_H_
6 #define CHROME_BROWSER_UI_APP_LIST_TEST_FAKE_PROFILE_H_ 6 #define CHROME_BROWSER_UI_APP_LIST_TEST_FAKE_PROFILE_H_
7 7
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/sequenced_task_runner.h" 10 #include "base/sequenced_task_runner.h"
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 const ProtectedMediaIdentifierPermissionCallback& callback) OVERRIDE; 64 const ProtectedMediaIdentifierPermissionCallback& callback) OVERRIDE;
65 virtual void CancelProtectedMediaIdentifierPermissionRequests( 65 virtual void CancelProtectedMediaIdentifierPermissionRequests(
66 int render_process_id, 66 int render_process_id,
67 int render_view_id, 67 int render_view_id,
68 const GURL& origin) OVERRIDE; 68 const GURL& origin) OVERRIDE;
69 virtual content::ResourceContext* GetResourceContext() OVERRIDE; 69 virtual content::ResourceContext* GetResourceContext() OVERRIDE;
70 virtual content::GeolocationPermissionContext* 70 virtual content::GeolocationPermissionContext*
71 GetGeolocationPermissionContext() OVERRIDE; 71 GetGeolocationPermissionContext() OVERRIDE;
72 virtual content::BrowserPluginGuestManager* GetGuestManager() OVERRIDE; 72 virtual content::BrowserPluginGuestManager* GetGuestManager() OVERRIDE;
73 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; 73 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE;
74 virtual content::PushMessagingService* GetPushMessagingService() OVERRIDE;
74 virtual scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() OVERRIDE; 75 virtual scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() OVERRIDE;
75 virtual Profile* GetOffTheRecordProfile() OVERRIDE; 76 virtual Profile* GetOffTheRecordProfile() OVERRIDE;
76 virtual void DestroyOffTheRecordProfile() OVERRIDE; 77 virtual void DestroyOffTheRecordProfile() OVERRIDE;
77 virtual bool HasOffTheRecordProfile() OVERRIDE; 78 virtual bool HasOffTheRecordProfile() OVERRIDE;
78 virtual Profile* GetOriginalProfile() OVERRIDE; 79 virtual Profile* GetOriginalProfile() OVERRIDE;
79 virtual bool IsSupervised() OVERRIDE; 80 virtual bool IsSupervised() OVERRIDE;
80 virtual history::TopSites* GetTopSites() OVERRIDE; 81 virtual history::TopSites* GetTopSites() OVERRIDE;
81 virtual history::TopSites* GetTopSitesWithoutCreating() OVERRIDE; 82 virtual history::TopSites* GetTopSitesWithoutCreating() OVERRIDE;
82 virtual ExtensionService* GetExtensionService() OVERRIDE; 83 virtual ExtensionService* GetExtensionService() OVERRIDE;
83 virtual ExtensionSpecialStoragePolicy* 84 virtual ExtensionSpecialStoragePolicy*
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 virtual bool WasCreatedByVersionOrLater(const std::string& version) OVERRIDE; 122 virtual bool WasCreatedByVersionOrLater(const std::string& version) OVERRIDE;
122 virtual void SetExitType(ExitType exit_type) OVERRIDE; 123 virtual void SetExitType(ExitType exit_type) OVERRIDE;
123 virtual ExitType GetLastSessionExitType() OVERRIDE; 124 virtual ExitType GetLastSessionExitType() OVERRIDE;
124 125
125 private: 126 private:
126 std::string name_; 127 std::string name_;
127 base::FilePath path_; 128 base::FilePath path_;
128 }; 129 };
129 130
130 #endif // CHROME_BROWSER_UI_APP_LIST_TEST_FAKE_PROFILE_H_ 131 #endif // CHROME_BROWSER_UI_APP_LIST_TEST_FAKE_PROFILE_H_
OLDNEW
« no previous file with comments | « chrome/browser/services/gcm/push_messaging_service_impl.cc ('k') | chrome/browser/ui/app_list/test/fake_profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698